title: How long are completed pod logs stored in Kubernetes?
body: <p>I was trying out the <code>CronJob</code> resource (<code>apiVersion: batch/v2alpha1</code>) type in Kubernetes 1.5.2 and noticed that it create a lot of pods with status "Completed". I also noticed that I was able to view the logs of all those completed pods. This got me worried that those logs would keep accumulating forever, eating disk space. Are those pods ever garbage collected?</p>