-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[demo] Kadalu CSI support for Nomad #11207
Conversation
- Access external gluster cluster from Nomad via Kadalu CSI Signed-off-by: Leela Venkaiah G <[email protected]>
|
Please review @tgross if you get time. Thanks. |
Hi @leelavg and thanks for raising this PR. Tim no longer works at HashiCorp, however, a member of the team will review this PR when possible. |
@leelavg This looks interesting. How are you handling updates though? Last time I checked glusterfs has a fuse based driver and as such upgrading the node pods will result in all mounts of the node getting lost. |
PS: Pls don't mind k8s terminology, muscle memory 😅 |
Thanks, that makes sense. The main blocker I see here (for me personally, I am not a nomad team member) is that it is currently (afaik) not really possible to upgrade node by node. This is the reason why I export my glusterfs via nfs-ganesha and use NFS to mount it: https://gitlab.com/rocketduck/csi-plugin-nfs -- this works nicely since NFS is a kernel driver and as such I can just upgrade the system job running the node plugins. |
Thanks for your inputs. |
This is the config for nomad: https://gitlab.com/rocketduck/csi-plugin-nfs/-/tree/main/nomad and the nfs-ganesha jobfile looks like this:
It is indeed an extra layer, but one that I need :) |
Edit: Reworded correctly |
It is also required so the mount survives pod updates, otherwise the underlying source ip for the nfs mount is no longer available on the host :D |
It's been hard for us to test and validate all the different CSI demos we receive, but we love to receive them and we trust you all know how to use these tools best 😄 So we recently changed the
@leelavg would you be OK with adding yourself as this demo author? Here's an example. We may tag you in the future to help us solve problems with the demo if someone opens an issue about it. @apollo13 does the PR looks good to you, or are there any blockers left before we merge this? |
@lgfa29 definitely, I've raised this PR for visibility of CSI projects supporting Nomad. I specifically mention in the README to contact kadalu team for any issues. Will tag the author as me but I anticipate users to raise CSI issues against Kadalu repo and someone from Kadalu will raise issue against Nomad if needed. |
I am not using glusterfs in such a configuration due to the downsides with using a fuse based driver. That said, from a quick glance it looks solid. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions. |
Signed-off-by: Leela Venkaiah G [email protected]