- Home
- Operations Guide
- Administer an MKE cluster
- Add labels to cluster nodes
- Apply labels to a node
Apply labels to a node#
The following example procedure applies the ssd label to a node.
-
Log in to the MKE web UI with administrator credentials.
-
Click Shared Resources in the navigation menu to expand the selections.
-
Click Nodes. The details pane will display the full list of nodes.
-
Click the node on the list that you want to attach labels to. The details pane will transition, presenting the Overview information for the selected node.
-
Click the settings icon in the upper-right corner to open the Edit Node page.
-
Navigate to the Labels section and click Add Label.
-
Add a label, entering
diskinto the Key field andssdinto the Value field. -
Click Save to dismiss the Edit Node page and return to the node Overview.
Hint
You can use the CLI to apply a label to a node:
docker node update --label-add <key>=<value> <node-id>