Difference between revisions of "Kubectl get nodes"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 1: Line 1:
cse@ubuntu1804-1:~$ kubectl get nodes
+
kubectl get nodes
 
  NAME          STATUS  ROLES    AGE  VERSION
 
  NAME          STATUS  ROLES    AGE  VERSION
 
  node2          Ready    <none>  23h  v1.14.3-docker-2
 
  node2          Ready    <none>  23h  v1.14.3-docker-2
Line 9: Line 9:
 
  master  Ready    master  67m  v1.14.0
 
  master  Ready    master  67m  v1.14.0
 
  node01  Ready    <none>  67m  v1.14.0
 
  node01  Ready    <none>  67m  v1.14.0
 +
 +
kubectl get nodes --[[show-labels]]
  
  

Revision as of 17:32, 16 February 2020

kubectl get nodes

NAME           STATUS   ROLES    AGE   VERSION
node2          Ready    <none>   23h   v1.14.3-docker-2
ubuntu1804-1   Ready    master   23h   v1.14.3-docker-2


kubectl get nodes 
NAME     STATUS   ROLES    AGE   VERSION 
master   Ready    master   67m   v1.14.0
node01   Ready    <none>   67m   v1.14.0
kubectl get nodes --show-labels


Related commands

See also

Advertising: