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 -h]] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[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 27: | ||
== [[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 38: | ||
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 50: | ||
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 99: | Line 61: | ||
minikube Ready master 12m v1.18.0 | minikube Ready master 12m v1.18.0 | ||
− | + | == [[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 78: | ||
[[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 describe nodes]]</code> | * <code>[[kubectl describe nodes]]</code> | ||
* <code>[[kubectl label]]</code> | * <code>[[kubectl label]]</code> | ||
* <code>[[~/.kube/config]]</code> | * <code>[[~/.kube/config]]</code> | ||
* <code>[[kubectl drain]]</code> | * <code>[[kubectl drain]]</code> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== See also == | == See also == | ||
− | * {{kubectl get | + | * {{kubectl get}} |
− | * {{kubectl | + | * {{kubectl info}} |
− | * {{ | + | * {{kubectl}} |
[[Category:Kubernetes]] | [[Category:Kubernetes]] |
Advertising: