Editing Kubectl get nodes
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
− | + | [[kubectl get]] nodes | |
− | + | [[kubectl get nodes -w]] | |
− | + | [[kubectl get nodes --watch]] | |
− | + | [[kubectl get -h]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Examples == | == Examples == | ||
[[kubectl get]] [[nodes]] | [[kubectl get]] [[nodes]] | ||
− | NAME STATUS | + | NAME STATUS ROLES AGE [[Kubectl version|VERSION]] |
node2 Ready <none> 23h v1.14.3-docker-2 | node2 Ready <none> 23h v1.14.3-docker-2 | ||
ubuntu1804-1 Ready master 23h v1.14.3-docker-2 | ubuntu1804-1 Ready master 23h v1.14.3-docker-2 | ||
Line 43: | Line 29: | ||
== [[EKS]] == | == [[EKS]] == | ||
− | + | kubectl get nodes | |
NAME STATUS ROLES AGE VERSION | NAME STATUS ROLES AGE VERSION | ||
ip-192-168-72-109.us-east-2.compute.internal Ready <none> 9m38s v[[1.21]].5-eks-bc4871b | ip-192-168-72-109.us-east-2.compute.internal Ready <none> 9m38s v[[1.21]].5-eks-bc4871b | ||
Line 54: | Line 40: | ||
ip-10-0-1-85.us-east-2.compute.internal Ready <none> 33m v1.20.11-eks-f17b81 | ip-10-0-1-85.us-east-2.compute.internal Ready <none> 33m v1.20.11-eks-f17b81 | ||
ip-10-0-3-153.us-east-2.compute.internal Ready <none> 32m v1.20.11-eks-f17b81 | ip-10-0-3-153.us-east-2.compute.internal Ready <none> 32m v1.20.11-eks-f17b81 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[kubectl get]] nodes | [[kubectl get]] nodes | ||
[[Unable to connect to the server]]: dial tcp: lookup 00A50xxxx.gr7.us-east-2.eks.amazonaws.com: [[no such host]] | [[Unable to connect to the server]]: dial tcp: lookup 00A50xxxx.gr7.us-east-2.eks.amazonaws.com: [[no such host]] | ||
Line 81: | Line 52: | ||
kubectl get nodes | kubectl get nodes | ||
Unable to connect to the server: EOF | Unable to connect to the server: EOF | ||
− | |||
− | |||
− | |||
== [[Minikube]] == | == [[Minikube]] == | ||
− | |||
− | |||
− | |||
− | |||
kubectl get nodes | kubectl get nodes | ||
Line 98: | Line 62: | ||
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 (Kubernetes in Docker)|kind]] == | == [[KinD (Kubernetes in Docker)|kind]] == | ||
− | |||
− | |||
− | |||
− | |||
− | |||
kubectl get nodes | kubectl get nodes | ||
NAME STATUS ROLES AGE VERSION | NAME STATUS ROLES AGE VERSION | ||
kind-control-plane Ready control-plane,master 10m v1.20.2 | kind-control-plane Ready control-plane,master 10m v1.20.2 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
Line 128: | Line 80: | ||
[[error: You must be logged in to the server (Unauthorized)]] | [[error: You must be logged in to the server (Unauthorized)]] | ||
− | == Related == | + | == Related commands == |
* <code>[[kubectl get pods]]</code> | * <code>[[kubectl get pods]]</code> | ||
* <code>[[kubectl get svc]]</code> | * <code>[[kubectl get svc]]</code> | ||
Line 136: | Line 88: | ||
* <code>[[kubectl drain]]</code> | * <code>[[kubectl drain]]</code> | ||
* <code>[[kubectl uncordon]]</code> | * <code>[[kubectl uncordon]]</code> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
== See also == | == See also == | ||
− | * {{kubectl get | + | * {{kubectl get}} |
− | * {{kubectl | + | * {{kubectl info}} |
− | * {{ | + | * {{kubectl}} |
[[Category:Kubernetes]] | [[Category:Kubernetes]] |
Advertising: