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