QubitProducts / bamboo

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

HAProxy don't be refreshed while marathon has any multiple ports app #112

Open hyper0x opened 9 years ago

j1n6 commented 9 years ago

"Might" because the default template it only takes first port into account. There's solution in the template example shows how to workaround the issue.

https://github.com/QubitProducts/bamboo/blob/master/config/haproxy_template.cfg#L75

hyper0x commented 9 years ago

OK, Thanks. I will try it.

timoreimann commented 9 years ago

@hyper-carrot did you manage to resolve the issue so we can close this one?

hyper0x commented 9 years ago

@timoreimann I resolved. Thank you.

timoreimann commented 9 years ago

Thanks @hyper-carrot .

@activars , I think this one is good to close then.

j1n6 commented 9 years ago

@hyper-carrot how did you resolve the issue?

hyper0x commented 9 years ago

@activars there is many small step, but it's destructive. We modified the haproxy template file: https://github.com/Dataman-Cloud/bamboo/blob/master/config/haproxy_template.cfg

So, it is not a general solution.