Difference between revisions of "Kubectl get nodes --show-labels"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
(9 intermediate revisions by 4 users not shown) | |||
Line 2: | Line 2: | ||
[[kubectl get nodes]] [[--show-labels]] | [[kubectl get nodes]] [[--show-labels]] | ||
NAME STATUS ROLES AGE VERSION LABELS | NAME STATUS ROLES AGE VERSION LABELS | ||
− | ip-10-0-1-149.us-east-2.compute.internal Ready <none> 2d22h v1.20.11-eks-f17b81 beta.kubernetes.io/arch=amd64,beta.kubernetes.io/instance- type=t2.small,beta.kubernetes.io/os=linux,failure-domain.beta.kubernetes.io/region=us-east-2,failure-domain.beta.kubernetes.io/zone=us-east-2a,kubernetes.io/arch=amd64,kubernetes.io/hostname=ip-10-0-1-149.us-east-2.compute.internal,kubernetes.io/os=linux,node.kubernetes.io/instance-type=t2.small,topology.kubernetes.io/region=us-east-2,topology.kubernetes.io/zone=us-east-2a | + | ip-10-0-1-149.us-east-2.compute.internal Ready <none> 2d22h v1.20.11-eks-f17b81 beta.kubernetes.io/arch=amd64,[[beta.kubernetes.io]]/instance-type=t2.small,beta.kubernetes.io/os=linux,failure-[[domain.beta.kubernetes.io]]/region=us-east-2,failure-domain.beta.kubernetes.io/zone=us-east-2a,kubernetes.io/arch=amd64,kubernetes.io/hostname=ip-10-0-1-149.us-east-2.compute.internal,kubernetes.io/os=linux,node.kubernetes.io/instance-type=t2.small,topology.kubernetes.io/region=us-east-2,topology.kubernetes.io/zone=us-east-2a |
ip-10-0-2-121.us-east-2.compute.internal Ready <none> 2d22h v1.20.11-eks-f17b81 beta.kubernetes.io/arch=amd64,beta.kubernetes.io/instance- type=t2.small,beta.kubernetes.io/os=linux,failure-domain.beta.kubernetes.io/region=us-east-2,failure-domain.beta.kubernetes.io/zone=us-east-2b,kubernetes.io/arch=amd64,kubernetes.io/hostname=ip-10-0-2-121.us-east-2.compute.internal,kubernetes.io/os=linux,node.kubernetes.io/instance-type=t2.small,topology.kubernetes.io/region=us-east-2,topology.kubernetes.io/zone=us-east-2b | ip-10-0-2-121.us-east-2.compute.internal Ready <none> 2d22h v1.20.11-eks-f17b81 beta.kubernetes.io/arch=amd64,beta.kubernetes.io/instance- type=t2.small,beta.kubernetes.io/os=linux,failure-domain.beta.kubernetes.io/region=us-east-2,failure-domain.beta.kubernetes.io/zone=us-east-2b,kubernetes.io/arch=amd64,kubernetes.io/hostname=ip-10-0-2-121.us-east-2.compute.internal,kubernetes.io/os=linux,node.kubernetes.io/instance-type=t2.small,topology.kubernetes.io/region=us-east-2,topology.kubernetes.io/zone=us-east-2b | ||
+ | == Related == | ||
+ | * <code>[[kubectl get pods --show-labels]]</code> | ||
+ | * [[Kubernetes labels]] | ||
+ | * [[Assign Pods to Nodes using Node Affinity]] | ||
== See also == | == See also == | ||
+ | * {{kubectl label}} | ||
+ | * {{Kubernetes labels}} | ||
+ | |||
+ | [[Category:K8s]] |
Latest revision as of 09:47, 29 November 2023
kubectl get nodes --show-labels NAME STATUS ROLES AGE VERSION LABELS ip-10-0-1-149.us-east-2.compute.internal Ready <none> 2d22h v1.20.11-eks-f17b81 beta.kubernetes.io/arch=amd64,beta.kubernetes.io/instance-type=t2.small,beta.kubernetes.io/os=linux,failure-domain.beta.kubernetes.io/region=us-east-2,failure-domain.beta.kubernetes.io/zone=us-east-2a,kubernetes.io/arch=amd64,kubernetes.io/hostname=ip-10-0-1-149.us-east-2.compute.internal,kubernetes.io/os=linux,node.kubernetes.io/instance-type=t2.small,topology.kubernetes.io/region=us-east-2,topology.kubernetes.io/zone=us-east-2a ip-10-0-2-121.us-east-2.compute.internal Ready <none> 2d22h v1.20.11-eks-f17b81 beta.kubernetes.io/arch=amd64,beta.kubernetes.io/instance- type=t2.small,beta.kubernetes.io/os=linux,failure-domain.beta.kubernetes.io/region=us-east-2,failure-domain.beta.kubernetes.io/zone=us-east-2b,kubernetes.io/arch=amd64,kubernetes.io/hostname=ip-10-0-2-121.us-east-2.compute.internal,kubernetes.io/os=linux,node.kubernetes.io/instance-type=t2.small,topology.kubernetes.io/region=us-east-2,topology.kubernetes.io/zone=us-east-2b
Related[edit]
See also[edit]
Advertising: