The page has been translated by Gen AI.

Configuration Management

When you need to manage values that change inside a container across various environments such as development and production, creating separate images to handle them via environment variables is inconvenient and incurs significant cost waste. In Kubernetes, you can manage environment variables or configuration values as variables so they can be changed externally and injected when a Pod is created; at this point, you can use ConfigMap and Secret.

Reference

ConfigMaps and Secret services default to the cluster (namespace) selected when the service is created. Even if you select a different item in the list, the default cluster (namespace) setting is retained.

  • To select a different cluster (namespace), click the list in the top-left corner of the list page. * Select the cluster and namespace to modify from the list and click the View button. * You can view the services created in the selected cluster/namespace.

Managing ConfigMaps

You can create and manage the Config information used in a namespace as a ConfigMap.

Create ConfigMap

To create a ConfigMap, follow these steps.

  1. Click the All Services > Container > Kubernetes Engine menu. 1. Go to the Service Home page of Kubernetes Engine.
  2. On the Service Home page, click ConfigMap under the Configuration menu. 2. Go to the ConfigMap List page.
  3. On the ConfigMap list page, select the cluster and namespace from the list in the upper left, then click Create Object.
  4. In the Object Creation Popup, enter the object information and click the Create button.
Reference
For detailed information on the concept of ConfigMaps and object creation, refer to the 쿠버네티스 공식 문서 > 컨피그맵.

Check ConfigMap detailed information

To view detailed ConfigMap information, follow these steps.

  1. Click the All Services > Container > Kubernetes Engine menu. 1. Go to the Service Home page of Kubernetes Engine.
  2. On the Service Home page, click ConfigMap under the Configuration menu. 2. Navigate to the ConfigMap List page.
  3. On the ConfigMap List page, select the cluster and namespace from the list in the upper left, then click View.
  4. Select the item you want to view detailed information for on the ConfigMap List page. 4. Navigate to the ConfigMap Details page.
    • If you select System Object Display at the top of the list, all items except the Kubernetes object entries will be shown.
  5. Click each tab to view the service information.
    Category
    Detailed description
    Delete ConfigMapDelete ConfigMap
    Detailed InformationDetailed ConfigMap information can be viewed
    YAMLThe ConfigMap’s resource file can be edited in the YAML editor
    • Click the Edit button, modify the resource, then click the Done button to apply the changes
    • When editing content, you can click the Diff button to view the changed content
    eventCheck events that occurred in the ConfigMap
    Account informationCheck basic information about the Account, such as name, location, and creation date/time.
    Metadata InformationCheck the ConfigMap’s metadata information
    Object InformationCheck the object information of the ConfigMap
    • In Data, - - -separates rows, and value is displayed in a textarea format
    • The binary data value outputs its length
    Table. ConfigMap detailed information items

Delete ConfigMap

To delete a ConfigMap, follow these steps.

  1. Click the All Services > Container > Kubernetes Engine menu. 1. Navigate to the Service Home page of Kubernetes Engine.
  2. On the Service Home page, click ConfigMap under the Configuration menu. 2. Navigate to the ConfigMap list page.
  3. ConfigMap List page, after selecting the cluster and namespace from the list in the top‑left corner, click View.
  4. Select the item you want to delete on the ConfigMap List page. 4. Navigate to the ConfigMap Details page.
  5. On the ConfigMap Details page, click Delete ConfigMap.
  6. Notification dialog appears, click the Confirm button.
Caution
On the ConfigMap list page, after selecting the item you want to delete, click Delete to delete the selected ConfigMap.

Manage Secrets

Using secrets allows you to securely store and manage sensitive information such as passwords, OAuth tokens, and SSH keys.

Create Secret

To create a secret, follow these steps.

  1. All Services > Container > Kubernetes Engine menu, click it. 1. Go to the Service Home page of Kubernetes Engine.
  2. On the Service Home page, click Secret under the Configuration menu. 2. Go to the Secret List page.
  3. Secret List page, after selecting the cluster and namespace from the list at the top left, click Create Object.
  4. Enter the object information in the Object Creation Popup and click the Create button.
Reference
For detailed information on the concept of Secrets and object creation, refer to the 쿠버네티스 공식 문서 > 시크릿.

Check secret detailed information

To view the secret details, follow these steps.

  1. Click the All Services > Container > Kubernetes Engine menu. 1. Go to the Service Home page of Kubernetes Engine.
  2. On the Service Home page, click Secret under the Configuration menu. 2. Navigate to the Secret List page.
  3. On the Secret List page, select the cluster and namespace from the list at the top left, then click View.
  4. Select the item you want to view details for on the Secret List page. 4. Navigate to the Secret Detail page.
    • If you select System Object Display at the top of the list, all items except the Kubernetes object entries will be shown.
  5. Click each tab to view the service information.
    Category
    Detailed description
    Delete SecretDelete the secret
    Detailed InformationYou can view detailed information of the secret
    YAMLThe secret’s resource file can be edited in the YAML editor
    • Click the Edit button, modify the resource, then click the Done button to apply the changes
    • When editing content, you can click the Diff button to view the changed content
    eventCheck events that occurred within the secret
    Account InformationCheck basic information about the Account, such as its name, location, and creation date/time.
    metadata informationCheck the metadata information of the secret
    Object InformationCheck the secret object’s information
    Table. Secret detailed information items

Delete Secret

To delete the secret, follow these steps.

  1. Click the All Services > Container > Kubernetes Engine menu. 1. Navigate to the Service Home page of Kubernetes Engine.
  2. On the Service Home page, click Secret under the Configuration menu. 2. Go to the Secret List page.
  3. Secret List page, select the cluster and namespace from the list at the top left, then click View.
  4. Select the item you want to delete on the Secret List page. 4. Go to the Secret Detail page.
  5. On the Secret Details page, click Delete Secret.
  6. Notification dialog appears, click the Confirm button.
Caution
On the secret list page, after selecting the item you want to delete, click Delete to remove the selected secret.
Manage Storage
Manage Permissions