Manage node labels

更新时间:
复制 MD 格式

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

  1. Log on to the ACK console. In the left navigation pane, click Clusters.

  2. On the Clusters page, click the name of your cluster. In the left navigation pane, click Nodes > Nodes.

  3. On the Nodes page, click Manage Labels and Taints in the upper-right corner.

  4. On the Labels tab, select the nodes that you want to label, and then click Add Label.

  5. 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 5.jpg next to the label that you want to remove. In the dialog box that appears, click OK.

The label is removed from the node.

Note

Some Kubernetes-native labels cannot be deleted. If you delete them, the system automatically re-adds them.

Related documents