Delete Cluster Labels
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
-
Log in to the KubeSphere web console as a user with Cluster Management permissions.
-
Click Cluster Management.
-
On the Cluster Management page, click the Label Management tab to open the cluster label list.
-
On the right side of the label you want to delete, click
, and then select Delete from the dropdown list.
-
In the Delete Label dialog box, enter the label’s key-value pair, and then click OK.
Batch Delete Labels
-
Log in to the KubeSphere web console as a user with Cluster Management permissions.
-
Click Cluster Management.
-
On the Cluster Management page, click the Cluster Labels tab to open the cluster label list.
-
Select the checkboxes to the left of the labels you want to delete, and then click Delete above the list.
-
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.