The page has been translated by Gen AI.

Configuration Management

When there is a need to manage changing values inside the container according to various environments such as development and operation, managing separate images due to environment variables is inconvenient and costly. In Kubernetes, you can manage environment variables or configuration values as variables so that they can be changed from outside, and at this time, ConfigMap and Secret can be used to insert them when a Pod is created.

Reference

ConfigMap and Secret services are set to the cluster (namespace) selected when the service is created by default. Even if you select other items in the list, the default cluster (namespace) setting is maintained.

  • To select a different cluster (namespace), click the gear button to the right of the list. In the Cluster/Namespace Settings popup window, select the cluster and namespace you want to change and click the OK button. You can see the config map and secret service created in the selected cluster/namespace.

Managing Config Maps

You can write and manage Config information used in the namespace as a config map.

Creating a Config Map

To create a configmap, follow these steps.

  1. Click all services > Container > Kubernetes Engine menu. It moves to the Service Home page of Kubernetes Engine.
  2. On the Service Home page, click ConfigMap under the Configuration menu. It moves to the ConfigMap list page.
  3. ConfigMap List page, select the cluster and namespace from the gear button at the top left, then click Create Object.
  4. Object Creation Popup에서 오브젝트 정보를 입력하고 Confirm 버튼을 클릭하세요.
Reference
For more information about the concept of ConfigMap and object creation, see Kubernetes official documentation > ConfigMap.

Checking ConfigMap Details

To check the config map details, follow the next procedure.

  1. Click all services > Container > Kubernetes Engine menu. It moves to the Service Home page of Kubernetes Engine.
  2. On the Service Home page, click ConfigMap under the Configuration menu. It moves to the ConfigMap list page.
  3. ConfigMap List page, select the cluster and namespace from the gear button at the top left, then click OK.
  4. On the Config Map List page, select the item you want to check the detailed information. It moves to the Config Map Detail page.
    • Selecting System Object View at the top of the list displays all items except for Kubernetes object entries.
  5. Click each tab to check the service information.
Classification
Detailed Description
Config Map DeletionDelete Config Map
Detailed InformationCheck detailed information of Config Map
YAMLThe resource file of ConfigMap can be modified in the YAML editor
  • Click the Edit button, modify the resource, and then click the Save button to apply the changes
EventCheck the event that occurred within the config map
Account InformationAccount name, location, creation time, etc., check the basic information about the Account
Metadata InformationCheck the metadata information of the config map
Object InformationCheck the object information of the config map
  • Data separates lines with - - - and displays value in textarea format
  • Binary Data value outputs the length value
Table. Configmap detail information items

Deleting ConfigMap

To delete a configmap, follow this procedure.

  1. Click All services > Container > Kubernetes Engine menu. It moves to the Service Home page of Kubernetes Engine.
  2. On the Service Home page, click ConfigMap under the Configuration menu. It moves to the ConfigMap list page.
  3. ConfigMap list page, select the cluster and namespace from the gear button at the top left, then click OK.
  4. Configmap List page, select the item you want to delete. It moves to the Configmap Detail page.
  5. Configmap Details page, click Delete Configmap.
  6. When the Notification Confirmation Window appears, click the Confirm button.
Caution
In the ConfigMap list page, you can delete the selected ConfigMap by selecting the item you want to delete and then clicking Delete.

Managing Secrets

Using secrets, you can safely store and manage sensitive information such as passwords, OAuth tokens, and SSH keys.

Creating a Secret

To create a secret, follow these steps.

  1. Click All services > Container > Kubernetes Engine menu. It moves to the Service Home page of Kubernetes Engine.
  2. On the Service Home page, click 시크릿 under the 구성 menu. It moves to the 시크릿 목록 page.
  3. Secret List page, select cluster and namespace from the gear button at the top left, then click Create Object.
  4. Object Creation Popup에서 오브젝트 정보를 입력하고 Confirm 버튼을 클릭하세요.
Reference
For more information on the concept of Secrets and creating Secret objects, see Kubernetes official documentation > Secret.

Check Secret Details

To check the secret details, follow the following procedure.

  1. Click All services > Container > Kubernetes Engine menu. It moves to the Service Home page of Kubernetes Engine.
  2. On the Service Home page, click 시크릿 under the 구성 menu. It moves to the 시크릿 목록 page.
  3. Secret List page, select cluster and namespace from the gear button at the top left, then click Confirm.
  4. Secret List page, select the item you want to check the detailed information. It moves to the Secret Detail page.
    • Selecting Show System Objects at the top of the list displays all items except Kubernetes object entries.
  5. Click each tab to check the service information.
Classification
Detailed Description
Secret DeletionDelete secret
Detailed InformationCheck the detailed information of Secret
YAMLThe resource file of the secret can be modified in the YAML editor
  • Click the Edit button, modify the resource, and then click the Save button to apply the changes
EventCheck the event that occurred within Secret
Account InformationAccount name, location, creation time, etc., basic information about the Account can be checked
Metadata InformationCheck the metadata information of the secret
Object InformationCheck the object information of the secret
Table. Secret detailed information items

Deleting Secrets

To delete a secret, follow these steps.

  1. Click all services > Container > Kubernetes Engine menu. It moves to the Service Home page of Kubernetes Engine.
  2. On the Service Home page, click 시크릿 under the 구성 menu. It moves to the 시크릿 목록 page.
  3. Secret List page, select the cluster and namespace from the gear button at the top left, then click OK.
  4. Secret List page, select the item you want to delete. It moves to the Secret Detail page.
  5. Secret Detail page, click Delete Secret.
  6. When the Notification Confirmation Window appears, click the Confirm button.
Caution
In the Secret list page, you can delete the selected secret by selecting the item you want to delete and clicking Delete.
Managing Storage
Managing Permissions