<p>I am working with kubernetes for a long time and I have a question that I am not sure what the answer is.</p>
<p>If I create a <code>PersistentVolume</code> and couple of <code>PersistentVolumeClaims</code> that uses that <code>PersistentVolume</code>.
I mapped different <code>PersistentVolumeClaims</code> to different pods/containers.</p>
<p>Is There a way that one pod could read data that the other pod/container written?</p>

<p><strong>TL;DR:</strong> By mistake - no. By a chain of mistakes - yes.</p>
<p>First, PV <a href="https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes" rel="nofollow noreferrer">Access Mode</a> need to be set to <code>ReadWriteMany</code>.</p>
<p>Then, a specific Volume Plugin have to be used. While Kuberentes supports a lot of different volumes, only few support <code>ReadWriteMany</code> Access Mode.<br />
Those volume types that do support <code>ReadWriteMany</code> can be found in <a href="https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes" rel="nofollow noreferrer">this table</a> (scroll down a bit).</p>
<p>As far as a container is concerned, PersistentVolume is just a volume mounted in container's filesystem. If you mount it to multiple pods, they will be able to read and write to the same files.</p>
