You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to find if there is a way to provision PVs from multiple storage backends given a StatefulSet that has a single StorageClass defined in its volumeClaimTemplates section.
Given a StatefulSet with a spec of spec.volumeClaimTemplates.storageClassName: test-sc (pointing to a single StorageClass), and a storageClass with an hypothetical spec like:
Hey! Thanks for reaching out. What you're trying to do can not be automatically performed unfortunately. It requires the CSI Topology feature to be enhanced further in the driver. We're not sure how such implementation would look but we would most likely add topology information to the backend Secret and allow multiple backends in one Secret.
However, since StatefulSetPVC names are predictable, you can have two StorageClasses (topology-fc1 and topology-fc2) and manually create the PVCs before creating the StatefulSet.
I'm trying to find if there is a way to provision PVs from multiple storage backends given a StatefulSet that has a single StorageClass defined in its
volumeClaimTemplates
section.Given a StatefulSet with a spec of
spec.volumeClaimTemplates.storageClassName: test-sc
(pointing to a single StorageClass), and a storageClass with an hypothetical spec like:Could it be possible to provision PVs from one backend or another depending on the zone or region in which the pod is scheduled?
Thank you very much for your help!
The text was updated successfully, but these errors were encountered: