<p>With Okteto Cloud, in order to let different pods/deployments access a shared PersistentVolumeClaim, I tried setting the PersistentVolumeClaim's <code>accessModes</code> to <code>"ReadWriteMany"</code>:</p>

<pre><code>{
    "kind": "PersistentVolumeClaim",
    "apiVersion": "v1",
    "metadata": {
        "name": "pv-claim-cpdownloads"
    },
    "spec": {
        "accessModes": [
            "ReadWriteMany"
        ],
        "resources": {
            "requests": {
                "storage": "10Gi"
            }
        }
    }
}
</code></pre>

<p>Applying my deployment with <code>kubectl</code> succeeds, but the deployment itself times out on the okteto web UI, with the error:</p>

<pre><code>pod has unbound immediate PersistentVolumeClaims (repeated 55 times)
</code></pre>

<hr>

<p>Now, the same PersistentVolumeClaim with <code>accessModes</code> set to <code>"ReadWriteOnce"</code> deploys just fine.</p>

<p><strong>Is the accessMode <code>"ReadWriteMany"</code> disallowed on Okteto Cloud ?</strong></p>

<p><strong>If it is, how could I get several pods/deployments to access the same volume data ?</strong></p>

<p>For precisions, in my case I think I technically only need one pod to write to the volume and the other one to read from it.</p>

<p>My use case is to have one container save files to a folder, and another container watches changes and loads files from that same folder.</p>

Nicolas Marshall
<p>Okteo Cloud only supports the "ReadWriteOnce" access mode.
If you share the volume between pods/deployments they will all go to the same node, which is equivalent to have a single reader/writer. But it is not a recommended practice.</p>

<p>What is your use case? why do you need to share volumes?</p>
