Where does Kubernetes store logs from Jobs by default?

153 Views Asked by At

I know that pod logs are stored at /var/log/containers/<pod-name>.log. Are jobs stored in the same location? The job spins up a pod and I can view the logs with kubectl logs <pod-name>, but I have fluent-bit configured and was expecting to see the logs for that container in fluent bit, but I do not. I am wondering if there is something weird in the backend for EKS that I am unaware of on how jobs may be treated differently than normal pods.

0

There are 0 best solutions below