Difference between revisions of "Kubectl uncordon"
Jump to navigation
Jump to search
(Created page with "{{lc}} == See also == * {{kubectl}} Category:Kubernetes") |
|||
(25 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
+ | <code>[[kubectl]] uncordon</code> mark [[Kubernetes nodes|node]] as [[schedulable]]. | ||
+ | * https://www.mankier.com/1/kubectl-uncordon | ||
+ | |||
+ | kubectl get nodes -o wide | grep SchedulingDisabled | ||
+ | |||
+ | [[kubectl uncordon]] ip-10-0-1-25.us-east-2.compute.internal | ||
+ | node/ip-10-0-1-25.us-east-2.compute.internal uncordoned | ||
+ | |||
+ | Verify: | ||
+ | [[kubectl get nodes -w]] | ||
+ | NAME STATUS ROLES AGE VERSION | ||
+ | ip-10-0-1-25.us-east-2.compute.internal Ready <none> 4d19h v1.20.11-eks-f17b81 | ||
+ | ip-10-0-3-240.us-east-2.compute.internal Ready,[[SchedulingDisabled]] <none> 4d19h v1.20.11-eks-f17b81 | ||
+ | |||
+ | |||
+ | ip-10-0-3-240.us-east-2.compute.internal NotReady,[[SchedulingDisabled]] <none> 4d19h v1.23.13-eks-xxxxx | ||
+ | |||
+ | == Related commands == | ||
+ | * <code>[[kubectl drain]]</code> | ||
+ | * <code>[[kubectl cordon]]</code> | ||
+ | * <code>[[kubectl get nodes -o wide]]</code> | ||
+ | |||
+ | == Related == | ||
+ | * [[How can I check, scale, delete, or drain my worker nodes in Amazon EKS?]] | ||
+ | * <code>[[SchedulingDisabled]]</code> | ||
+ | * <code>[[FailedScheduling]]</code> | ||
== See also == | == See also == | ||
− | * {{kubectl}} | + | * {{kubectl nodes}} |
+ | * {{Kubernetes nodes}} | ||
[[Category:Kubernetes]] | [[Category:Kubernetes]] |
Latest revision as of 09:34, 28 February 2024
kubectl uncordon
mark node as schedulable.
kubectl get nodes -o wide | grep SchedulingDisabled
kubectl uncordon ip-10-0-1-25.us-east-2.compute.internal node/ip-10-0-1-25.us-east-2.compute.internal uncordoned
Verify: kubectl get nodes -w NAME STATUS ROLES AGE VERSION ip-10-0-1-25.us-east-2.compute.internal Ready <none> 4d19h v1.20.11-eks-f17b81 ip-10-0-3-240.us-east-2.compute.internal Ready,SchedulingDisabled <none> 4d19h v1.20.11-eks-f17b81
ip-10-0-3-240.us-east-2.compute.internal NotReady,SchedulingDisabled <none> 4d19h v1.23.13-eks-xxxxx
Related commands[edit]
Related[edit]
- How can I check, scale, delete, or drain my worker nodes in Amazon EKS?
SchedulingDisabled
FailedScheduling
See also[edit]
- K8s nodes:
get | uncordon | cordon | drain | taint | describe | patch ] nodes
- Kubernetes nodes,
node.kubernetes.io
K8s Node controller (node-controller),MemoryPressure, DiskPressure, NodeHasDiskPressure, events, NodeNotReady
, Node-pressure Eviction, RemovingNode, ProviderID,kubectl node-shell, kubectl describe nodes
Advertising: