Edit Node Labels
This section describes how to edit node labels.
Node labels are key-value pairs set by users on nodes, which can be used to select nodes. For example, when creating a workload, you can specify that pods be scheduled onto nodes with specific labels.
Prerequisites
You need to join a cluster and have the Node Management permission in the cluster. For more information, see Cluster Members and Cluster Roles.
Steps
-
Log in to the KubeSphere web console with a user who has Node Management permissions and enter your cluster.
-
In the left navigation pane, select Nodes > Cluster Nodes to open the node list.
-
In the node list, click the name of the node you want to operate on to open its details page.
-
On the node details page, click Operation > Edit Labels.
-
In the Edit Labels dialog box, set the key and value for the node label, then click OK.
Note Click Add to set multiple labels for the node.