<p>My model as follows:</p>

<ul>
<li>a NFS server pod (Pod A) with an empty directory volume already mounted. This volume will be served as the NFS.</li>
<li>a pod (Pod B) with a container that will access a NFS volume "/resource" when a function is run on the container.</li>
</ul>

<p>I want Pod B to be able to mount the NFS volume from Pod A, but the problem is that Pod B is created and running before Pod A is created. </p>

<p>Is it possible for either:</p>

<ol>
<li>Pod B to be created &amp; run with no volumes and then mount Pod A once Pod A is created &amp; running</li>
<li>Pod B to be created &amp; run with a "dummy" NFS volume that can be reconfigured to point to Pod A once Pod A is created &amp; running</li>
</ol>

<p>I'm able to change my model if need be, so any help would be greatly appreciated.</p>

<p>That's not possible with kubernetes concepts.</p>

<p>If you really really want you could run your pod in privileged mode and issue the mount commands from your app. I do not recommend this.</p>
