<p>Normally to view logs of the service running in pod we use below command:</p>
<pre><code>kubectl logs -f &lt;pod_name&gt;
</code></pre>
<p>but for the evicted pod, it doesn't work.
All I can see the overall pod health by running below command:</p>
<pre><code>kubectl describe po &lt;evicted_pod_name&gt;
</code></pre>

Siddhanta Rath
<p>You can use below command</p>
<pre><code>kubectl logs my-pod -c my-container --previous
</code></pre>
<p>This dumps pod container logs (stdout, multi-container case) for a previous instantiation of a container</p>
<p>or</p>
<pre><code>kubectl logs my-pod --previous
</code></pre>
<p>This dumps pod logs (stdout) for a previous instantiation of a container</p>
<p>Alternatively you could also login to the node where the pod was scheduled and use <code>docker ps</code> to get containarerid and <code>docker logs containarerid</code> to get logs.</p>
