<p>I have some previously run pods that I think were killed by Kubernetes for OOM or DEADLINE EXCEEDED, what's the most reliable way to confirm that? Especially if the pods weren't recent. </p>

<p>If the pods are still showing up when you type <code>kubectl get pods -a</code> then you get type the following <code>kubectl describe pod PODNAME</code> and look at the reason for termination. The output will look similar to the following (I have extracted parts of the output that are relevant to this discussion):</p>

<pre><code>Containers:
  somename:
    Container ID: docker://5f0d9e4c8e0510189f5f209cb09de27b7b114032cc94db0130a9edca59560c11
    Image:      ubuntu:latest
    ...
    State:      Terminated
      Reason:       Completed
      Exit Code:    0
</code></pre>

<p>In the sample output you will, my pod's terminated reason is <code>Completed</code> but you will see other reasons such as <code>OOMKilled</code> and others over there.           </p>
