<p>I have a statefulset with 2 persistent volumes on each replica . . .  I need to keep &quot;groups&quot; of disks together, so that app-disk-0 &amp; data-disk-0 will always be on a pod together, app-disk-1 &amp; data-disk-1 will always be on a pod together, etc.  Is this possible without manual intervention?</p>

GuyMatz
<p>You could add some labels to your volumeClaimTemplates.</p>
<p>Although whenever I see pods attaching multiple PVC, I would try to refactor those. You could usually have something like:</p>
<pre><code>volumes:
- name: pv
  persistentVolumeClaim: xxx
containers:
- volumeMounts:
  - name: pv
    mountPath: /var/lib/xxx
    subPath: app-data
  - name: pv
    mountPath: /etc/xxx
    subPath: app-config
</code></pre>
<p>A single PVC could regroup several volumes, using subPaths.</p>
