Commands.app

kubectl cordon

Node Management

Mark node as unschedulable

Examples
Common usage examples

Prevent new pods on node

kubectl cordon mynode

Allow scheduling again

kubectl uncordon mynode
Notes
  • Existing pods continue running
Related Commands
You might also find these useful