This conponent is Obsoleted, try not use it!
Marathon-lb is a tool for managing HAProxy, by consuming Marathon's app state. HAProxy is a fast, efficient, battle-tested, highly available load balancer with many advanced features which power a number of high-profile websites.
Deploy marathon-lb in docker way on marathon:
{
"id": "marathon-lb",
"instances": 3,
"constraints": [
["hostname", "UNIQUE"]
],
"container": {
"type": "DOCKER",
"docker": {
"image": "docker.io/mesosphere/marathon-lb",
"privileged": false,
"network": "HOST"
}
},
"args": ["sse", "-m", "http://mesos-master:8080", "-m", "http://mesos-agent:8080", "-m", "http://mesos-agent-1:8080", "--group", "external"]
}