Skip to content
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

how can I replicate data in 3 different truenas ? #55

Open
louisgls opened this issue Mar 15, 2024 · 0 comments
Open

how can I replicate data in 3 different truenas ? #55

louisgls opened this issue Mar 15, 2024 · 0 comments

Comments

@louisgls
Copy link

I've been using this chart for quite some time and it works very well but I have a specific question about it :

I have a kubernetes cluster, 3 zones, a Truenas used for each zone.

How can I have a statefulset with 3 replicas, one replica in each zone ? Pod is correctly deployed in each zone using node affinity but all PVC automatically gets the same storage class, which means all PV are created in the same TrueNAS.

I have tried to work with allowedTopologies https://github.com/democratic-csi/charts/blob/master/stable/democratic-csi/templates/storage-classes.yaml#L32 but I can't make it work. The same storage class gets picked up by all PVC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant