<p>I'm running a Kubernetes job, and was trying to look at the logs for it hours after it had been completed. However, when I did <code>kubectl describe job [jobname]</code>, no pods were listed (<code>Events</code> came back as just <code>&lt;none&gt;</code>), and when I did <code>kubectl get pods</code>, the pod for that job was not there. How would the deletion of pods in completed jobs be configured, and how could I change that to let the pod stay up longer so I can read its logs?</p>

Andy Haskell
<p>Look at the properties below.  Below setting would keep 3 jobs in the history that were successful. You would have one failed job history. You can change the count as per your need</p>

<pre><code>successfulJobsHistoryLimit: 3
failedJobsHistoryLimit: 1
</code></pre>
