<p>I have a rabbitMQ in my project, and I want the queues on one pod to be on the other and the information on one pod to be shared with the other pod. Is there a way for you to share the same volume and both can read and write? I use GCloud.</p>

Sermanes
<p>Actually, it is possible to share a GCEPersistentDisk volume between more than one pod. The <a href="https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes" rel="nofollow noreferrer">document</a> says it doesn't support ReadWriteMany mode, however it does support ReadWriteOnce mode. That means if a pod mounts the volume with ReadWriteOnce mode, no other pod can mount it until that pod unmounts the volume. So, this is like a locking mechanism in writing mode. On the other hand, multiple Pods can mount the volume in ReadOnlyMany.</p>

<p>You can review this <a href="https://stackoverflow.com/questions/31693529/how-to-share-storage-between-kubernetes-pods">Stack link</a> and also <a href="https://stackoverflow.com/questions/37649541/kubernetes-persistent-volume-accessmode">this one</a> for more information.</p>
