This section describes how to delete cluster labels.

Note

If a label has been added to a cluster, it will be removed from the cluster after deletion.

Prerequisites

You need to have the Cluster Management permission on the KubeSphere platform.

Delete a Single Label

  1. Log in to the KubeSphere web console as a user with Cluster Management permissions.

  2. Click Cluster Management.

  3. On the Cluster Management page, click the Label Management tab to open the cluster label list.

  4. On the right side of the label you want to delete, click more, and then select Delete from the dropdown list.

  5. In the Delete Label dialog box, enter the label’s key-value pair, and then click OK.

Batch Delete Labels

  1. Log in to the KubeSphere web console as a user with Cluster Management permissions.

  2. Click Cluster Management.

  3. On the Cluster Management page, click the Cluster Labels tab to open the cluster label list.

  4. Select the checkboxes to the left of the labels you want to delete, and then click Delete above the list.

  5. In the Batch Delete Labels dialog box, enter the key-value pair for each label, and then click OK.

    Note

    Please use half-width commas (,) and spaces to separate multiple label key-value pairs.