Jan Walraven
DevOps



Menu
Categories:
Posted on

To list all containers inside all pods run the following kubectl command:

Kubectl Command:

$ kubectl get po -o jsonpath='{range .items[*]}{"pod: "}{.metadata.name}{"\n"}{range .spec.containers[*]}{"\tname: "}{.name}{"\n\timage: "}{.image}{"\n"}{end}'