-
Notifications
You must be signed in to change notification settings - Fork 301
Beta Marathon LB
Justin Lee edited this page Feb 7, 2018
·
6 revisions
Beta Marathon-LB uses HAProxy 1.8.3.
If you have a custom HAPROXY_HEAD, you should make the following changes prior to upgrading to the beta-marathon-lb package:
-
Remove the
daemon
line from theglobal
config block. -
In the
global
config block, modify this line
stats socket /var/run/haproxy/socket
to this:
stats socket /var/run/haproxy/socket expose-fd listeners
Other comments / changes from pre-beta to beta:
- In the marathon app definition for Marathon-LB itself, added a mount to /dev/log (this gets rid of the
sendmsg logger #2 failed: Resource temporarily unavailable (errno=11)
messages by allowing haproxy to log to the machine /dev/log device). Only works in docker repository. Alternately, you can suppress these messages by removing these lines from your HAPROXY_HEAD:
log /dev/log local0
log /dev/log local1 notice
- Change healthcheck from
HTTP
toMESOS_HTTP
. Cause it's better. - Preinstall notes included.