Difference between revisions of "List containers on a POD"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
[[kubectl get pods -A]] | [[kubectl get pods -A]] | ||
+ | [[kubectl get]] pods -A -o=name | ||
== See also == | == See also == |
Revision as of 13:39, 28 September 2023
kubectl get pods YourPOD -o jsonpath='{.spec.containers[*].name}'
kubectl get pods -A kubectl get pods -A -o=name
See also
Advertising: