<p>I have a cluster with multiple nodes and i also have created a persistent volume in order to have persistence of my data in a Pod. What i am actually looking for is the following:</p>
<p>Lets say that we have a pod, named pod1 that is connected with the Persistent Volume and in a specific directory we have some files. If i have another different pod, named pod2 which is in the same node with the pod1, that wants to copy a file from the directory of the pod1 which is connected with the PV.</p>
<p>Is there any right way to configure this?</p>

Rodr
<p>What you need is a shared persistent volume mounted in both pods.
You can achieve this in a couple of different ways:</p>
<ul>
<li>Use a <code>hostPath</code> volume pointing to the same directory.</li>
<li>Use a volume type that supports RWX (read write many) <a href="https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes" rel="nofollow noreferrer">access mode</a>.</li>
</ul>
