kubectl cordon
kubectl cordon <node> | kubectl uncordon <node>
Risk: Careful
What it does
Stops new pods going to a node. Pods already there stay.
When to use it
Before work on a node.
Example
$ kubectl cordon dev-workerNo new trays at this stall.
$ kubectl uncordon dev-workerThe stall takes trays again.
Learn it in: Cluster upgrades and version skew · Official docs