A pod can have multiple containers inside. If you want to see the logs there are 2 simple commands to run:
1. kubectl describe po pod-name-1234
This will display information about the pod. Here you will find container name/s.
2. kubectl logs pod-name-1234 -c container-name
This will show logs from container inside the pod.
No comments:
Post a Comment