Difference between revisions of "Kubectl uncordon"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
<code>[[kubectl]] uncordon</code> mark [[Kubernetes nodes|node]] as [[schedulable]]. | <code>[[kubectl]] uncordon</code> mark [[Kubernetes nodes|node]] as [[schedulable]]. | ||
* https://www.mankier.com/1/kubectl-uncordon | * 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 | [[kubectl uncordon]] ip-10-0-1-25.us-east-2.compute.internal | ||
node/ip-10-0-1-25.us-east-2.compute.internal uncordoned | node/ip-10-0-1-25.us-east-2.compute.internal uncordoned | ||
+ | |||
Verify: | Verify: | ||
− | [[kubectl get nodes]] | + | [[kubectl get nodes -w]] |
NAME STATUS ROLES AGE VERSION | 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-1-25.us-east-2.compute.internal Ready <none> 4d19h v1.20.11-eks-f17b81 |
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: