<p>I have some logs in Kubernetes Pod on specific path <code>/mnt/logs</code>, and I would like to forward them to stdout so I can see them when I execute <code>kubectl logs ....</code>. Is there an easy way to do that?</p>

Most31
<p>May try overriding the container command:</p>
<pre><code>command: [&quot;/bin/sh&quot;]
args: [&quot;-c&quot;, &quot;touch /mnt/logs/my.log &amp;&amp; tail -f /mnt/logs/my.log &amp; run_your_app&quot;]
</code></pre>
<p>Note the second conjunction is <code>&amp;</code> - this is to ensure <code>tail</code> is in the background.</p>
