Difference between revisions of "Kubectl get nodes -o wide"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
  [[kubectl get nodes]] -o wide
 
  [[kubectl get nodes]] -o wide
 
  .../... [[NOMINATED NODE]]    [[READINESS GATE]]
 
  .../... [[NOMINATED NODE]]    [[READINESS GATE]]
 +
 +
kubectl get nodes -A -o wide | awk '{print $6}' | grep -v [[INTERNAL-IP]]
 +
 +
kubectl get nodes -A -o wide
 +
NAME                                          STATUS  ROLES              AGE      VERSION   
 +
INTERNAL-IP      EXTERNAL-IP  OS-IMAGE            KERNEL-VERSION    CONTAINER-RUNTIME
 +
ip-10-236-208-15.eu-west-1.compute.internal    Ready    worker              3y69d    v1.19.15  10.236.208.15    <none>        Ubuntu 18.04.4 LTS  5.4.0-1103-aws    docker://19.3.14
 +
ip-10-236-208-157.eu-west-1.compute.internal  Ready    controlplane,etcd  4y124d  v1.19.15  10.236.208.157  <none>        Ubuntu 18.04.2 LTS  5.4.0-1086-aws    docker://19.3.14
 +
 +
kubectl get nodes -A -o wide
 +
NAME                                          STATUS
 +
ip-10-236-208-15.eu-west-1.compute.internal    Ready,[[SchedulingDisabled]]
 +
  
 
== Related ==
 
== Related ==
Line 7: Line 20:
  
 
== See also ==
 
== See also ==
 +
* {{kubectl get nodes}}
 
* {{kubectl info}}
 
* {{kubectl info}}
 
* {{Kubernetes nodes}}
 
* {{Kubernetes nodes}}
  
 
[[Category:Kubernetes]]
 
[[Category:Kubernetes]]

Latest revision as of 10:03, 24 October 2023

kubectl get nodes -o wide
.../... NOMINATED NODE    READINESS GATE
kubectl get nodes -A -o wide | awk '{print $6}' | grep -v INTERNAL-IP
kubectl get nodes -A -o wide
NAME                                           STATUS   ROLES               AGE      VERSION    
INTERNAL-IP      EXTERNAL-IP   OS-IMAGE             KERNEL-VERSION     CONTAINER-RUNTIME
ip-10-236-208-15.eu-west-1.compute.internal    Ready    worker              3y69d    v1.19.15   10.236.208.15    <none>        Ubuntu 18.04.4 LTS   5.4.0-1103-aws     docker://19.3.14
ip-10-236-208-157.eu-west-1.compute.internal   Ready    controlplane,etcd   4y124d   v1.19.15   10.236.208.157   <none>        Ubuntu 18.04.2 LTS   5.4.0-1086-aws     docker://19.3.14
kubectl get nodes -A -o wide
NAME                                           STATUS
ip-10-236-208-15.eu-west-1.compute.internal    Ready,SchedulingDisabled


Related[edit]

See also[edit]

Advertising: