Difference between revisions of "Kubectl uncordon"

From wikieduonline
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]] -w
+
  [[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]

See also[edit]

Advertising: