List containers on a POD
Jump to navigation
Jump to search
kubectl get pods YourPOD -o jsonpath='{.spec.containers[*].name}'
kubectl get pods -A kubectl get pods -A -o=name kubectl get --no-headers pods -o custom-columns=":metadata.name" kubectl get ns
See also
Advertising: