How to check the containers running on a pod in kubernettes?

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?

Jon Skeet
people
quotationmark

You can use the describe command:

kubectl describe pod [podname]

That will specify which containers are in the pod, along with other information.

people

See more on this question at Stackoverflow