Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing from load balancer after marathon killing the tasks #202

Open
vamsu opened this issue Apr 15, 2016 · 1 comment
Open

Removing from load balancer after marathon killing the tasks #202

vamsu opened this issue Apr 15, 2016 · 1 comment

Comments

@vamsu
Copy link

vamsu commented Apr 15, 2016

I am wondering how bamboo handles this use case.
Let’s say we created a marathon app with minimumHealthCapacity=0.9 and maximumOverCapacity=0 and this does a 10% rolling restart. Based on our understanding of Bamboo, it would listen to marathon events and update HAProxy. Does that mean Bamboo updates HAProxy after marathon kills the 10% tasks? If that is the case, wouldn't HAProxy send the requests to the old nodes during brief time period between marathon sending the event and Bamboo reloading HAProxy configuration?

@lclarkmichalek
Copy link
Contributor

Bamboo adds and removes tasks as they appear in Marathon's list of tasks.
There may be a delay. Use HAProxy health checks to handle this.
On 15 Apr 2016 6:26 am, "vamsu" [email protected] wrote:

I am wondering how bamboo handles this use case.
Let’s say we created a marathon app with minimumHealthCapacity=0.9 and
maximumOverCapacity=0 and this does a 10% rolling restart. Based on our
understanding of Bamboo, it would listen to marathon events and update
HAProxy. Does that mean Bamboo updates HAProxy after marathon kills the 10%
tasks? If that is the case, wouldn't HAProxy send the requests to the old
nodes during brief time period between marathon sending the event and
Bamboo reloading HAProxy configuration?


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#202

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants