Apply a scheduling label to a node.
Section: Nodes, Taints, and Scheduling Controls
Label node
bash
bash
kubectl label node worker-02 nodepool=general --overwriteExplanation
Apply a scheduling label to a node.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Nodes, Taints, and Scheduling Controls