Difference between revisions of "Kubernetes selectors"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
== Related == | == Related == | ||
* <code>[[kubectl set selector]]</code> | * <code>[[kubectl set selector]]</code> | ||
+ | * [[Kubernetes services]] | ||
== See also == | == See also == |
Revision as of 07:41, 5 August 2022
kubectl get pods --selector=app=your-app-name -o=jsonpath='{.items[0].metadata.name}'
selector:
Related
See also
Advertising: