-
Notifications
You must be signed in to change notification settings - Fork 578
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
[FEATURE]Native RWX with Longhorn volume #1470
Comments
With the current nfs-provisioner it takes around 90sec for the failover. Would be supported in v1.1.0 a HA setup for RWX? |
@SoutisV Unfortunately it's not going to be HA RWX. It's very hard to do zero downtime HA RWX with Longhorn which is designed to be a distributed block storage system instead of a distributed filesystem. |
Pre-merged Checklist
|
Is there really no plan to make the longhorn-nfs-provisioner available in a HA setup? Having a single point of failure for a shared persistent volume for my RWX workloads is not ideal. A 90 second fail over is a deal breaker. If its the longhorn storage-class that is limiting the longhorn-nfs-provisioner from replicating the storage quick enough for zero downtime, could another storage-class be leveraged? I know that the Service ClusterIP gets hardcoded and the docs say it must be linked to a single pod, but is there any reason why this Service ClusterIP couldn't front 2 or 3 pods? |
@zbialik It's complicated to get a HA NFS working for a block storage system like Longhorn. The cluster IP can front multiple Pods, but those Pods must have the same data to keep it consistent across the board. Also, each NFS server has an internal state machine that needs to keep consistent across the whole setup. And in the case of losing one NFS server, we need to handle the traffic on the fly as well to prevent data corruption. We've spent a lot of effort trying to piece everything together, but unfortunately, we still face technical difficulties to get it right in this release. We will investigate more after the v1.1.0 release. |
Thanks for the explanation! |
Verified the RWX feature with Longhorn v1.1.0-rc1 Validation - Pass Executed test cases from longhorn/longhorn-tests#496. |
Closing this as the validation is completed. |
The documentation is still pointing to old information; I'm currently trying to figure out how to do this, hoping the lack of docs means to just use the flag? |
@taxilian it looks updated to me. https://longhorn.io/docs/1.1.0/advanced-resources/rwx-workloads/ |
Huh; maybe I was looking at an old version of the docs and didn't realize
it. Thanks for the link!
Richard
…On Sat, Jan 2, 2021 at 1:47 AM Yarden Shoham ***@***.***> wrote:
@taxilian <https://github.com/taxilian> it looks updated to me.
https://longhorn.io/docs/1.1.0/advanced-resources/rwx-workloads/
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1470 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABWYTW2W6UQJ5GXX7M3G53SX3MRTANCNFSM4NYUHLOQ>
.
|
Longhorn longhorn#1470 Signed-off-by: Joshua Moody <joshua.moody@rancher.com>
Longhorn longhorn#1470 Signed-off-by: Joshua Moody <joshua.moody@rancher.com>
Longhorn #1470 Signed-off-by: Joshua Moody <joshua.moody@rancher.com>
We want to support RWX on Longhorn. Probably using NFS protocol in someway.
The text was updated successfully, but these errors were encountered: