Difference between revisions of "Kubectl cordon"
Jump to navigation
Jump to search
(9 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
+ | <code>[[kubectl cordon]]</code> mark node as [[unschedulable]]. | ||
* https://jamesdefabia.github.io/docs/user-guide/kubectl/kubectl_cordon/ | * https://jamesdefabia.github.io/docs/user-guide/kubectl/kubectl_cordon/ | ||
− | + | * <code>kubectl cordon [[NodeName]]</code> | |
− | [[kubectl uncordon]] | + | kubectl cordon ip-10-226-24-215.eu-west-3.compute.internal |
− | + | node/ip-10-226-24-215.eu-west-3.compute.internal cordoned | |
+ | |||
+ | |||
+ | * <code>[[kubectl uncordon]]</code> | ||
+ | |||
+ | == Related == | ||
+ | * <code>[[nodeAffinity]]</code> | ||
+ | * <code>[[kubectl drain]]</code> | ||
== See also == | == See also == | ||
* {{Eviction}} | * {{Eviction}} | ||
* {{kubectl cordon}} | * {{kubectl cordon}} | ||
+ | * {{kubectl nodes}} | ||
[[Category:K8s]] | [[Category:K8s]] |
Latest revision as of 11:39, 28 February 2024
kubectl cordon
mark node as unschedulable.
kubectl cordon NodeName
kubectl cordon ip-10-226-24-215.eu-west-3.compute.internal node/ip-10-226-24-215.eu-west-3.compute.internal cordoned
Related[edit]
See also[edit]
- Eviction, Eviction API,
kind: Eviction, kubectl cordon
kubectl cordon
- K8s nodes:
get | uncordon | cordon | drain | taint | describe | patch ] nodes
Advertising: