<p>I tried to search and look for resources regarding this, but i found that <code>ReadWriteOnce</code> mode allows a node to read and write once. A node consists of many  pods and that's what i'm confused about because pods can read or write, is this process going to be scheduled ?.</p>
<p>What i'm really trying to achieve is <code>thread safety</code>!
since there's one master who can write to this shared volume and many nodes should read after.</p>

طه غرايبه
<p><code>ReadWriteOnce</code> is an access mode and access modes dictate how many nodes can mount the PersistentVolume, and with which capabilities (read/write) - but <em>not</em> the amount of operations it can perform against that volume. Thus, your statement &quot;i found that ReadWriteOnce mode allows a node to read and write once&quot; is inaccurate.</p>
<p>From the <a href="https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes" rel="nofollow noreferrer">docs</a>:</p>
<blockquote>
<p>ReadWriteOnce</p>
<p>the volume can be mounted as read-write by a single node. ReadWriteOnce access mode still can allow multiple pods to access the volume when the pods are running on the same node.</p>
</blockquote>
<p>So no, this has nothing to do with synchronizing access to the underlying storage.</p>
