Difference between revisions of "Kubectl get nodes"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 13: Line 13:
 
  node01  Ready    <none>  67m  v1.14.0
 
  node01  Ready    <none>  67m  v1.14.0
  
[[Minikube]]
+
== [[Minikube]] ==
 
  kubectl get nodes
 
  kubectl get nodes
 
  NAME      STATUS  ROLES    AGE  VERSION
 
  NAME      STATUS  ROLES    AGE  VERSION
 
  minikube  Ready    master  12m  v1.18.0
 
  minikube  Ready    master  12m  v1.18.0
 +
 +
== [[Kind]] ==
 +
kubectl get nodes
 +
NAME                STATUS  ROLES                  AGE  VERSION
 +
kind-control-plane  Ready    control-plane,master  10m  v1.20.2
 +
  
  

Revision as of 07:28, 3 May 2021

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
172.17.255.254   Ready    master   11d   v1.14.8
kubectl get nodes 
NAME     STATUS   ROLES    AGE   VERSION 
master   Ready    master   67m   v1.14.0
node01   Ready    <none>   67m   v1.14.0

Minikube

kubectl get nodes
NAME       STATUS   ROLES    AGE   VERSION
minikube   Ready    master   12m   v1.18.0

Kind

kubectl get nodes
NAME                 STATUS   ROLES                  AGE   VERSION
kind-control-plane   Ready    control-plane,master   10m   v1.20.2


kubectl get nodes --show-labels (See also: Kubectl label)
kubectl get nodes
The connection to the server localhost:8080 was refused - did you specify the right host or port?
kubectl get nodes -w


Related commands

See also

Advertising: