Use the ACK console to add labels to multiple nodes in bulk, filter nodes by label, and delete node labels.
Prerequisites
You have created an ACK managed cluster.
Bulk add node labels
Log on to the ACK console. In the left navigation pane, click Clusters.
On the Clusters page, click the name of your cluster. In the left navigation pane, click .
-
On the Nodes page, click Manage Labels and Taints in the upper-right corner.
-
On the Labels tab, select the nodes that you want to label, and then click Add Label.
-
In the Add dialog box, enter the label name and value, and then click OK.
On the Labels page, the specified label is added to all selected nodes.
Filter nodes by label
On the Labels tab, click a label to filter the nodes.
The list updates to display only the nodes that have the specified label.
Delete a node label
On the Labels tab, click the delete icon
next to the label that you want to remove. In the dialog box that appears, click OK.
The label is removed from the node.
Some Kubernetes-native labels cannot be deleted. If you delete them, the system automatically re-adds them.
Related documents
-
Setting node labels and a nodeSelector policy lets you schedule an application to specific nodes. For more information, see Schedule Pods to specific nodes.
-
You can add labels to a node pool to schedule application Pods to nodes within that pool. For more information, see Schedule an application Pod to a specific node pool.