< img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=3131724&fmt=gif" />

Edit Node Labels

This section explains how to edit node labels.

Node labels are key-value pairs set by users on nodes and can be used for node selection. For example, when creating workloads, you can specify that a pod should be scheduled on nodes with specific labels.

Prerequisites

You should join a cluster and have the Node Management permission within the cluster. For more information, refer to "Cluster Members" and "Cluster Roles".

Steps

  1. Log in to the KubeSphere web console with a user who has the Node Management permission, and access your cluster.

  2. In the left navigation pane, select Nodes > Cluster Nodes to open the node list.

  3. In the node list, click the name of the node you want to edit to open the node details page.

  4. In the top left corner of the node details page, select More > Edit Labels.

  5. In the Edit Labels dialog, set the key and value of the node label, then click OK.

    Note

    Click Add to set multiple labels for a node.

Receive the latest news, articles and updates from KubeSphere


Thanks for the feedback. If you have a specific question about how to use KubeSphere, ask it on Slack. Open an issue in the GitHub repo if you want to report a problem or suggest an improvement.

What’s on this Page