(ConfigMap) is a resource type used to store the configuration information required by workloads, and its content is determined by users. After the resource is created, it can be loaded and used in container workloads. For example, the resource file can be loaded in “Data Storage” to make it a file in the container, or it can be loaded in “Environment Variables” to make it an environment variable in the container.

Add a ConfigMap

Container Cloud Service > Configuration Center >ConfigMap > Create ConfigMap

Steps

  • Basic Information

  • Add Key Value

  • Edit the content of the value.

  • Confirm the content and submit it.

The key is used as the file name, and the value is the file content.

Finish and Verify

Modify the ConfigMap

Container Cloud Service > Configuration Center >ConfigMap > Modify ConfigMap

作者:chering  创建时间:2024-12-17 11:18
最后编辑:chering  更新时间:2025-01-17 09:02