I am able to get a list of all pods running on a kubernetes cluster using:
kubectl get pods
How do I get all the containers running on a particular pod?
You can use the describe
command:
kubectl describe pod [podname]
That will specify which containers are in the pod, along with other information.
See more on this question at Stackoverflow