We have CentOS based infra for kubernetes and also using Openshift on top of tis. We have terminated a pod and now its not visible on master controller any more. However we are willing to analyze its logs.Can we still access its logs?How ?
If you have access to the Kubernetes Dashboard, you can access logs for deleted/completed pods in the desired namespace.
Looks like the container is removed (docker rm) once the kubectl delete
of the pod is done and the log files are gone. One way I can think of is using fluentd or something similar for log aggregation.