<p>In a Kubernetes cluster on Oracle cloud, I have a pod with an Apache server.</p>
<p>This pod needs a persistent volume so I used a persistentVolumeClaim and the cloud provider is able to automatically create an associated volume (Oracle Block Volume).</p>
<p>The access mode used by the PVC is readWriteOnce and therefore the volume created has the same access mode.</p>
<p>Everything work great.</p>
<p>Now I want to backup this volume using borg backup and borgmatic by starting a new pod regularly with a cronJob.</p>
<p>This backup pod needs to mount the volume in read only.</p>
<p>Question:</p>
<ul>
<li>Can I use the previously defined PVC?</li>
<li>Do I need to create a new PVC with readOnly access mode?</li>
</ul>

<p>As per documentation:</p>
<blockquote>
<p>ReadWriteOnce:
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>That means if you make a strict rule for deploying  your pods to the same node, you can use the same PVC, here's the <a href="https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/" rel="nofollow noreferrer">INSTRUCTION</a></p>
