cordon

Mark node “foo” as unschedulable

  1. kubectl cordon foo

Mark node as unschedulable.

Usage

$ kubectl cordon NODE

Flags

NameShorthandDefaultUsage
dry-runnoneMust be “none”, “server”, or “client”. If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.
selectorlSelector (label query) to filter on