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 and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store