-
Notifications
You must be signed in to change notification settings - Fork 547
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Volume provisioning with multiple ceph clusters #4857
Comments
we had the same requirement #4611, currently, we don't have a priority for it, we always welcome community contributions for it. |
I understand 🤔. # topologyConstrainedPools: |
# [{"poolName":"pool0",
# "dataPool":"ec-pool0" # optional, erasure-coded pool for data
# "domainSegments":[
# {"domainLabel":"region","value":"east"},
# {"domainLabel":"zone","value":"zone1"}]},
# {"poolName":"pool1",
# "dataPool":"ec-pool1" # optional, erasure-coded pool for data
# "domainSegments":[
# {"domainLabel":"region","value":"east"},
# {"domainLabel":"zone","value":"zone2"}]},
# {"poolName":"pool2",
# "dataPool":"ec-pool2" # optional, erasure-coded pool for data
# "domainSegments":[
# {"domainLabel":"region","value":"west"},
# {"domainLabel":"zone","value":"zone1"}]}
# ] As far as I understand, I can create an RBD pool in ceph and then use labels in pods/nodes to create some sort of data affinity. The Thank you @Madhu-1 for your help!! |
https://rook.github.io/docs/rook/v1.14/CRDs/Cluster/external-cluster/topology-for-external-mode/#ceph-cluster contains the same documentation, it gives better idea about this feature |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed due to inactivity. Please re-open if this still requires investigation. |
Volume provisioning with multiple ceph clusters
I'm trying to find if there is a way to provision PVs from multiple ceph clusters 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
cluster1
orcluster2
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: