cordon
Mark node “foo” as unschedulable
kubectl cordon foo
Mark node as unschedulable.
Usage
$ kubectl cordon NODE
Flags
Name | Shorthand | Default | Usage |
---|---|---|---|
dry-run | none | Must 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. | |
selector | l | Selector (label query) to filter on |
当前内容版权归 Kubernetes 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 Kubernetes .