<p>I understand that <code>EBS</code> volumes are currently only <code>ReadWriteOnce</code>. </p>

<p>However, I have been able to have a <code>persistent volume</code> shared between two or more <code>pods</code>, if those <code>pods</code> get started almost at the same time. One of them writes to the volumes, and the other one(s) only reads some files.</p>

<p>This approach has not been successful all time: It seems that if for any reason the read-only <code>pod</code> gets created ahead of the main <code>pod</code>, the main <code>pod</code> would get indefinitely stuck at <code>ContainerCreating</code> status with <code>Multi-Attach error for volume ...</code> warning.</p>

<p>Any advise? Thanks.</p>

imriss
<p>One solution that I have successfully tried was to add an <code>initContainers</code> to the read-only <code>pods</code> with a long <code>sleep</code> command there to make sure they do not get created before the main <code>pod</code>.</p>
