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.
Use -
kubectl describe pod pod_name
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With