Difference between revisions of "Kubernetes selectors"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 1: Line 1:
 
* https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
 
* https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
  
 +
  [[kubectl get pods]] [[--selector]]=app=your-app-name -o=jsonpath='{.items[0].metadata.name}'
  
 
  [[selector:]]
 
  [[selector:]]

Revision as of 11:51, 21 July 2022

Advertising: