Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

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:

  1. Remove the daemon line from the global config block.

  2. 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 to MESOS_HTTP. Cause it's better.
  • Preinstall notes included.
Clone this wiki locally