Difference between revisions of "Kubectl get pods"

From wikieduonline
Jump to navigation Jump to search
Line 5: Line 5:
 
   
 
   
 
  kubectl get pods -l app=nginx -L YOUR_LABEL
 
  kubectl get pods -l app=nginx -L YOUR_LABEL
 
+
-L or --label-columns
  
 
== Related commands ==
 
== Related commands ==

Revision as of 16:57, 27 January 2020

kubectl get pods 
No resources found.
kubectl get pods --all-namespaces

kubectl get pods -l app=nginx -L YOUR_LABEL
-L or --label-columns

Related commands


See also

Advertising: