QubitProducts / bamboo

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

HAProxy Restart coordination #13

Open j1n6 opened 10 years ago

sttts commented 10 years ago

I was wondering about the current logic during deployments in Marathon and I guess this ticket is about this topic. Some questions:

j1n6 commented 10 years ago

Hi @sttts, I see some very good questions that i've been thinking about improving. I will try to answer them:

j1n6 commented 10 years ago

This ticket is about multiple Bamboo servers coordinate and running sequential rolling restart, rather than say 10 of Bamboo server reload at around the same time. I'm still considering if this feature I just described is necessary.

sttts commented 10 years ago

A related discussion in the Marathon project: https://github.com/mesosphere/marathon/issues/712

xiaods commented 8 years ago

@activars if the expected is accepted, why not use marathon to control the rolling update?

j1n6 commented 8 years ago

Maybe that's one of the option. I thought about keep a lock in ZK and rolling update by themselves according to a preconfigured order. the zk will store these information: