Difference between revisions of "Kubectl get nodes --show-labels"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
Line 8: | Line 8: | ||
* <code>[[kubectl get pods --show-labels]]</code> | * <code>[[kubectl get pods --show-labels]]</code> | ||
* [[Kubernetes labels]] | * [[Kubernetes labels]] | ||
+ | * [[Assign Pods to Nodes using Node Affinity]] | ||
== See also == | == See also == |
Revision as of 06:20, 16 March 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
See also
Advertising: