This topic describes how to manage node labels in the Container Service for Kubernetes (ACK) console. You can add a label to multiple nodes at a time, filter nodes by label, and delete node labels.
Prerequisites
Add a label to multiple nodes at a time
Log on to the ACK console. In the left-side navigation pane, click Clusters.
On the Clusters page, click the name of the cluster that you want to manage and choose in the left-side navigation pane.
On the Nodes page, click Manage Labels and Taints in the upper-right corner.
On the Labels tab, select multiple nodes and click Add Label.
In the Add dialog box, specify Name and Value and click OK.
On the Labels tab, you can find that the label is added to the selected nodes.
Filter nodes by label
On the Labels tab, click a label in the Labels column to filter the nodes.
The page automatically refreshes and displays the nodes that have the specified label.
Delete a label
On the Labels tab, click the icon of a label. In the message that appears, click Confirm.
After the label is deleted, it is removed from the Labels column.
Some Kubernetes-native labels cannot be deleted. The system automatically re-adds them after they are deleted.
References
You can configure node labels and set the nodeSelector to schedule a pod to a node with the specified label. For more information, see Schedule pods to specific nodes.
You can add labels to node pools and schedule application pods to nodes in the node pool that has the specified labels. For more information, see Schedule an application pod to a specific node pool.