-
Notifications
You must be signed in to change notification settings - Fork 60
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
Would it be possible to use nfs-provisioner with openebs-jiva to get HA replication? #152
Comments
I got this working with something like this:
|
With the above configuration, I think there is an issue with OpenEBS Jiva replication on the cluster. It seems all the volume data goes to the NFS controller pod ephemeral store for that PVC, and it stores all the data in The data isn't passed on to Jiva at all, this mount directory on the NFS pod isn't mounted. That directory perhaps should be a mount to somewhere, but isn't. It just stores the plain files there on a single node. The Jiva replicas, three per every volume claim, are set up correctly but the file data doesn't seem to go to those... This would seem to be an issue on the OpenEBS Jiva side because it happens even without Dynamic NFS Provisioner: |
There is by the way this old blog article of this topic as well:
|
Went through the details provided in this issue above. We'll give it a try and assess if that classifies as a bug or a limitation in dynamic provisioning case. |
Describe the problem/challenge you have
I need high-availability replication support which would otherwise be provided by Jiva, but it doesn't support
ReadWriteMany
.I tried to make Jiva use replica storage class of openebs-rwx but that doesn't work because of the aforementioned limitation.
Describe the solution you'd like
Perhaps it would work the other way around, putting replicated Jiva storage class to back the NFS provisioner? It would be nice to have some documentation about this use case.
Edit: Actually I tried it the other way around now, NFS provisioner using a replicated OpenEBS Jiva replication to back it, and it works perfectly!
Some more information about my set up here:
https://www.costacoders.es/news/2022-12-24_kubernetes/
Vote on this issue!
This is an invitation to the OpenEBS community to vote on issues.
Use the "reaction smiley face" up to the right of this comment to vote.
The text was updated successfully, but these errors were encountered: