How can I use the GlusterFS in Kubernetes without Heketi server?

693 views Asked by At

I've an existing GlusterFS up and running. How can I use the GlusterFS erfs (external GlusterFS) in Kuberneteswithout heketi server? I'm looking for Heketi server alternate as The Heketiproject is now in deep maintenance status. https://github.com/heketi/heketi

2

There are 2 answers

2
SYN On

Hekiti is used setting up dynamic volumes provisioning, in Kubernetes. Thus, how to run GlusterFS in Kubernetes without Heketi: just skip whichever step told you to deploy Heketi in the first place. It's not part of GlusterFS.

And yes, nowadays, in the context of Kubernetes: Heketi, and/or GlusterFS, should be avoided. I think they're still in the process of implementing/refactoring proper Container-Storage-Interface, which is now pretty much required setting up storage in Kubernetes.

If you're looking for block storage, Ceph / RBD is usually a good candidate. For file storage, CephFS would do. Object storage: Ceph / RadosGW.

3
Aravinda VK On

You can try Kadalu Storage that uses core filesystem part from GlusterFS and provides storage to Kubernetes. Kadalu also supports external Gluster Volumes.

https://github.com/kadalu/kadalu

Disclaimer: I am Co-Creator and maintainer of the Kadalu Project.