

We have shown that Marathon is responsible for running other frameworks, helps them maintain 100% uptime, and coexists with them creating workloads in Mesos.

Meanwhile, Marathon also runs the other application containers - either Docker or Mesos - that make up our website: JBoss servers, Jetty, Sinatra, Rails, and so on. One dumps a production MySQL database to S3, while another sends an email newsletter to all customers via Rake. In the use case below, Chronos is running two scheduled jobs, shown in blue. Since Chronos itself is a framework and receives resource offers, it can start tasks on Mesos. This approach ensures that two Chronos processes are always running. If either of the two Chronos containers fails for any reason, then Marathon will restart them on another agent. The Chronos instances appear in orange on the top row. Marathon launches two instances of the Chronos scheduler using the Docker image mesosphere/chronos. Marathon is a powerful way to run other Mesos frameworks: in this case, Chronos. This means the Marathon scheduler processes are started directly using init, upstart, or a similar tool. Marathon is the first framework to be launched, running directly alongside Mesos. The graphic below shows how Marathon runs on Apache Mesos acting as the orchestrator for other applications and services. True multitenancy with each user or group having access to their own applications and groups.Įxamples Marathon orchestrates both apps and frameworks

Supply an HTTP endpoint to receive notifications - for example to integrate with an external load balancer. Evaluate your application’s health using HTTP or TCP checks. place only one instance of an application per rack, node, etc. You can run databases like MySQL and Postgres, and have storage accounted for by Mesos. Marathon can bind persistent storage volumes to your application. Marathon has first-class support for both Mesos containers (using cgroups) and Docker. Marathon runs as an active/passive cluster with leader election for 100% uptime. Marathon is a production-grade container orchestration platform for Mesosphere’s Datacenter Operating System (DC/OS) and Apache Mesos. A container orchestration platform for Mesos and DC/OS
