<p>I have a pod with two containers :</p>

<ol>
<li>A component with input file and does not support hot reload, to handle my new set of files i need to restart it with the new files in a particulary directory.</li>
<li>A sidecar who handle "event" and communicate with the other container</li>
</ol>

<p>What i want to do is from my sidecar container pull specific file, and relaunch the other container, with the new set of files.</p>

<p>Is it possible, or a better solution exist ?</p>

<p>Thanks</p>

Guillaume Alouege
<p><a href="https://github.com/kubernetes/git-sync" rel="nofollow noreferrer">git-sync</a> is a simple command that pulls a git repository into a local directory. It is a perfect "sidecar" container in Kubernetes - it can periodically pull files down from a repository so that an application can consume them.</p>
