This topic describes how to add, delete, or modify labels of a namespace in a Kubernetes cluster.

Prerequisites

Background information

Container Service for Kubernetes (ACK) allows you to edit a namespace. You can add, delete, or modify labels of a namespace.

Procedure

  1. Log on to the ACK console.
  2. In the left-side navigation pane, click Clusters.
  3. On the Clusters page, click the name of a cluster or click Details in the Actions column. The details page of the cluster appears.
  4. In the left-side navigation pane, click Namespaces.
  5. Select the namespace that you want to edit and click Edit in the Actions column.
    Edit a namespace
  6. In the dialog box that appears, find the label that you want to edit and click Edit. In this example, the key-value pair of the label changes to env:test-V2. Then, click Save.
    Edit a label
  7. Click OK. Return to the Namespace page and verify that the label is edited.