kubectl cordon
Node ManagementMark node as unschedulable
Examples
Common usage examples
Prevent new pods on node
kubectl cordon mynodeAllow scheduling again
kubectl uncordon mynodeNotes
- Existing pods continue running
Related Commands
You might also find these useful