You can 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 labels.

Prerequisites

An ACK cluster is created. For more information, see Create an ACK managed cluster.

Background information

You can use labels to schedule nodes. For more information, see Set node schedulability.

Add a label to multiple nodes at a time

  1. Log on to the ACK console and click Clusters in the left-side navigation pane.
  2. On the Clusters page, click the name of a cluster and choose Nodes > Nodes in the left-side navigation pane.
  3. On the Nodes page, click Manage Labels and Taints in the upper-right corner.
  4. Click the Labels tab. Select multiple nodes and click Add Label.
  5. In the Add dialog box, set Name and Value, and then click OK.
    On the Labels tab, you can verify 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.
Filter nodes by label

Delete a label

On the Labels tab, select a node and click the Delete icon of a label in the Labels column to delete the label.

After the label is deleted, it is removed from the Labels column.