Service Management with Marathon

Service Management with Marathon

DC/OS uses Marathon to manage processes and services and is the “init system” for DC/OS. Marathon starts and monitors your applications and services, automatically healing failures.

A native Marathon instance is installed as a part of DC/OS installation. The Marathon web UI is accessible at <dcos-url>/marathon.


Application Definitions

A Marathon application typically represents a long-running service, of which there would be many instances running on multiple hosts. An application instance is called a task. The application definition describes everything needed to start and maintain the tasks. A Marathon application definition creates a DC/OS service.

    Ports

    You can use virtual addresses (VIPs) to make ports management easier. VIPs simplify inter-app communication and implement a reliable service-oriented architecture. VIPs map traffic from a single virtual address to multiple IP addresses and ports.