QubitProducts / bamboo

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

Question: about deploying apps with bamboo #52

Closed apriendeau closed 10 years ago

apriendeau commented 10 years ago

How does it handle the a/b deploys with marathon? Does it wait for all the new nodes to be spun up the updated or does it do bleeding deploys?

j1n6 commented 10 years ago

Bamboo does the fast deploy when the app is under staging. However, it also uses the 'first' http health check when you creating app and pass it to haproxy. The Idea is to let haproxy decide if node is live and send traffic to it when available.

The limitation is Bamboo uses one health check, I'm still looking at marathon's API changes see if this can be improved in multiple ways.

Sent from my iPhone

On 7 Nov 2014, at 16:36, Austin Riendeau notifications@github.com wrote:

How does it handle the a/b deploys with marathon? Does it wait for all the new nodes to be spun up the updated or does it do bleeding deploys?

— Reply to this email directly or view it on GitHub.

apriendeau commented 10 years ago

So if we have multiple instances in a app, it will do a health check for each instance of the app before haproxy starts using it?

j1n6 commented 10 years ago

Yup, to be exact - Bamboo sends the health check config to Haproxy. You can also customize the health check in HAProxy template.

On 7 November 2014 17:13, Austin Riendeau notifications@github.com wrote:

So if we have multiple instances in a app, it will do a health check for each instance of the app before haproxy starts using it?

— Reply to this email directly or view it on GitHub https://github.com/QubitProducts/bamboo/issues/52#issuecomment-62177509.

This email may be confidential or privileged. If you received this communication by mistake, please don't forward it to anyone else, please erase all copies and attachments, and please let me know that it has gone to

the wrong person. Thanks.