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 ?
Containers together with its logs get deleted when you issue a kubectl delete pod <pod-name>
. You can use something like Fluentd or logspout to pipe your logs to say an ELK or an EFK stack.
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