kubernetes
list pods for all namespaces
kubectl get pods --all-namespaces
get list of containers in pod
kubectl -n <namespace> get pods <pod_name> -o jsonpath='{.spec.containers[*].name}'
list pods for all namespaces
kubectl get pods --all-namespaces
get list of containers in pod
kubectl -n <namespace> get pods <pod_name> -o jsonpath='{.spec.containers[*].name}'
This version of the page was edited by pyratebeard at . View the most recent version.