How to kubernetes on xcp-ng (csi?)
-
@xyhhx As I look further, it does seem to check a lot of boxes if I was building out a prod instance. I have enough exposure to dev-sec that I see the value. I feel like I sound like Linus and his comments about Debian but learning new ecosystems takes time and energy and sometimes is just distraction from building something. I kinda wore myself out learning all the details and quirks of DRBD and Linstor recently so I'll read some of the docs and hope the toolchain doesn't chase me away. Any product or project that genuinely and openly has a community like we have here would usually have my attention, just on those terms.
-
@Theoi-Meteoroi if you do check it out don't be shy to ping me either here or on matrix (
@xyhhx:matrix.org
) and i'll be happy to try to help -
So all of you have connected the storage directly to the vms?
I'm trying to do it on iscsi and nfs storage. -
@mohammadm i think for nfs you should handle that from the kubernetes side. i.e. use an nfs-provisioner or the built-in nfs storageclass
-
Hi all,
not sure if anyone is still following this this thread, but just in case...
Over the last few months I’ve been working on a CSI driver for Kubernetes that integrates with Xen Orchestra. I’ve been running it in my own setup for a couple of weeks now and it seems to be working well.
I originally built it for my own needs, but I’ve since cleaned it up and added documentation so others can try it out. If you do, I’d love to hear your feedback, issues, or feature requests.
Here is the link:
github.com/m4rCsi/csi-xen-orchestra-driverFeatures
- Dynamic provisioning (create disks on demand via PVCs)
- Migration of disks between storage repositories (meant for local SRs)
- Static provisioning (use an existing VDI by UUID)
- Offline volume expansion
- Topology aware (pool, and optionally host) (with the help of xenorchestra-cloud-controller-manager)
-