gluster / gluster-kubernetes

GlusterFS Native Storage Service for Kubernetes
Apache License 2.0
875 stars 389 forks source link

Configure topology via a configmap #46

Open ant31 opened 7 years ago

ant31 commented 7 years ago

To be able to package correctly Heketi (e.g with helm/kpm, see #39) or have a smoother experience with kubernetes, it should limit as much as possible manual actions, like 'pushing the topology'

I would like to edit/create a configmap with the topology file to have it updated.

sheerun commented 7 years ago

Another idea is to capture topology in node labels. This eliminates the need to know node's hostnames and IPs before installing gluster-kubernetes.

The label could be something like:

sheerun commented 7 years ago

Also I'd suggest creating heketi-operator similar to etcd-operator:

https://github.com/coreos/etcd-operator