QubitProducts / bamboo

HAProxy auto configuration and auto service discovery for Mesos Marathon
Apache License 2.0
794 stars 214 forks source link

Consider supporting zookeeper serversets from Apache Aurora #144

Open SEJeff opened 9 years ago

SEJeff commented 9 years ago

Apache Aurora can announce tasks in zookeeper using a format twitter dubbed serversets. It would be really fantastic if bamboo could put a watcher on the Aurora service discovery znode and write out a haproxy config just like it currently does for Marathon.

j1n6 commented 9 years ago

so does this mean you are looking for aurora support?

SEJeff commented 9 years ago

Yes please

j1n6 commented 9 years ago

It's possible. I'm just clearing off some internal priority, I will work on multiple exports (haproxy, nginx, consul), then aurora will probably be easier to implement.

But you could possibly hack the existing code to work with aurora ZK changes, by adding another watcher path. e.g. https://github.com/QubitProducts/bamboo/blob/master/main/bamboo/bamboo.go#L160

arnesund commented 8 years ago

I also believe this would be a great addition, since the Bamboo use case is equally valid for those running Aurora.