Difference between revisions of "Kubectl uncordon"

From wikieduonline
Jump to navigation Jump to search
 
Line 9: Line 9:
  
 
  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: