cordon

Marking a node unschedulable so no new pods are placed on it, while the pods already there keep running.

In more detail

It is the first step of maintenance. Draining evicts the existing pods, and uncordon returns the node to service afterwards.

Example

kubectl cordon node-a

Related terms

Taught in

References

Certification courses