HAProxy on the Mesos Master(s)
Opened this issue · 1 comments
I'm noticing that I don't have /etc/haproxy/haproxy.cfg
file on my mesos master(s). I launched the sample nginx.json
with the network BRIDGE
and PORTMAPPINGS
scaled out to 10
containers but I can only view the Nginx pages with IPADDRESS:PORT as there is no HAProxy. Should HAProxy be there by default of does it require additional configuration, such as an install?
I'm deploying this on AWS using the AMIs provided.
Marathon doesn't include a load balancing layer, but it does provide an example script for managing HAProxy with info pulled from Marathon.
Bamboo does the same thing, but is significantly more robust - I'd strongly recommend going that route.
We use Bamboo at The Factory and have published a cloudformation script for it:
https://github.com/thefactory/cloudformation-bamboo