Marathon provides a meta-framework for scheduling, container orchestration, and load balancing as part of the Mesosphere DC/OS platform. Marathon load balancer (Marathon-LB) is a proxy server and load balancer for TCP, HTTP, and HTTPS requests based on
HAProxy open-source software.
You can configure Marathon-LB with various topologies. Here are some examples of how you might use Marathon-LB:
Use Marathon-LB as your edge load balancer running on public-facing nodes to route inbound traffic. In this scenario, Marathon-LB uses the DNS service address (A) records of public-facing nodes to route internal or external acccess requests to application instances.
Use Marathon-LB as an internal load balancer with a separate load balancer for routing public traffic. For example, in this scenario, you might use an external F5 load balancer on-premise or an Elastic Load Balancer on Amazon Web Services to route public traffic.
Use Marathon-LB strictly as an internal load balancer without providing load balancing for any public-facing traffic.
Use Marathon-LB instances in a combination of internal and external load balancers, with different services exposed on different load balancers.
Marathon-LB provides proxy and load balancing services for Marathon-orchestrated apps running on DC/OS…Read More
Installing Marathon-LB using default or custom options for a DC/OS cluster…Read More
Working with templates and app labels
Working with templates and app labels for Marathon-LB…Read More
Tutorial - External load balancing for a sample app
How to use an external group for accessing a containerized service through Marathon-LB…Read More
Tutorial - Advanced internal and external load balancing
How to use Marathon-LB for both internal and external load balancing…Read More
Tutorial - Automated scaling using Marathon-LB statistics
How to automate application scaling using Marathon-LB statistics…Read More
Common issues and troubleshooting tips for Marathon-LB…Read More
Marathon-LB endpoints, command-line reference, and configuration templates and labels…Read More
Discover the new features, updates, and known limitations in this release of the Marathon-LB Service…Read More