kubectl cordon
CautionCordon a node
kubectl cordon <node>
Marks a node unschedulable without evicting pods — step one of maintenance. Undo with uncordon.
Examples
kubectl cordon node-3Stop new scheduling
Syntax
kubectl cordon <node> / kubectl uncordon <node>
Before you run it
Forgetting uncordon starves scheduling.
Related commands
- kubectl drainDrain a node
- kubectl get nodesNode status
The same reference, with no signal at all
Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store