Section: Nodes, Taints, and Scheduling Controls

Add taint to node

bash
bash
kubectl taint nodes worker-02 dedicated=ml:NoSchedule
Explanation

Add a taint to influence scheduling.

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
Remove taint from node
Remove a taint from a node.
OpenIn sheetbashsame section
List nodes
Show node roles, versions, and internal IPs.
OpenIn sheetbashsame section
Describe node
Inspect capacity, allocatable, taints, and conditions.
OpenIn sheetbashsame section
Label node
Apply a scheduling label to a node.
OpenIn sheetbashsame section
List pods on node
See what is scheduled on a node.
OpenIn sheetbashsame section
List services
Show services across namespaces.