<p>I have a deployment of pods which failed 22h ago, how often does Kubernetes log-rotate its logs?</p>
<p>Is there any possibility to view the logs of the deployment but 22 hours ago?</p>
<p>Thanks</p>

Gonzalo
<p>I think we can not retrieve logs from a pod that is not in ready state.
We can get the logs of the container inside the pod , By logging into the worker node where pod was running .</p>
<ul>
<li><code>docker ps -a | grep &lt;pod name&gt;</code></li>
<li><code>docker logs &lt;container name/id from above output</code></li>
</ul>
