<p>Currently I have a Kubernetes pod that is running a cron job. The cron job writes to a log file at <code>/var/log/cronlog</code>. However, when I type <code>kubectl log my-pod-name</code>, the contents of <code>/var/log/cronlog</code> is not included.</p>

<p>How do I make it so that the contents of <code>/var/log/cronlog</code> is included with the output of <code>kubectl log my-pod-name</code>?</p>

AlanSTACK
<p>you can append the container startup script to include the logs</p>

<p>something like run.sh &amp;&amp; tail -f /var/log/cronlog</p>
