Difference between revisions of "Kubectl get pods --show-labels"

From wikieduonline
Jump to navigation Jump to search
(Created page with "{{lc}} kubectl get pods --show-labels == See also == * {{Kubernetes labels}} Category:K8s")
Tags: Mobile web edit, Mobile edit
 
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
  [[kubectl get pods]] --show-labels
+
  [[kubectl get pods]] [[--show-labels]]
 
+
NAME                                                  READY  STATUS    RESTARTS  AGE  LABELS
 
+
mykubedashboard-kubernetes-dashboard-6f657dc57-84bht  1/1    Running  0          46h  [[app.kubernetes.io]]/component=kubernetes- dashboard,app.kubernetes.io/instance=mykubedashboard,app.kubernetes.io/managed-by=Helm,app.kubernetes.io/name=kubernetes-dashboard,app.kubernetes.io/version=2.5.1,helm.sh/chart=kubernetes-dashboard-5.4.1,pod-template-hash=6f657dc57
  
 +
== Related ==
 +
* <code>[[kubectl get nodes --show-labels]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 15:52, 30 July 2022

kubectl get pods --show-labels
NAME                                                   READY   STATUS    RESTARTS   AGE   LABELS
mykubedashboard-kubernetes-dashboard-6f657dc57-84bht   1/1     Running   0          46h   app.kubernetes.io/component=kubernetes- dashboard,app.kubernetes.io/instance=mykubedashboard,app.kubernetes.io/managed-by=Helm,app.kubernetes.io/name=kubernetes-dashboard,app.kubernetes.io/version=2.5.1,helm.sh/chart=kubernetes-dashboard-5.4.1,pod-template-hash=6f657dc57

Related[edit]

See also[edit]

Advertising: