Questions tagged [marathon]

Marathon is an Apache Mesos framework for long-running services.

Marathon is a Mesos framework for long-running services.

Marathon provides a REST API for starting, stopping, and scaling services. Marathon is written in Scala and can run in highly-available mode by running multiple Marathon instances.

Marathon is a meta framework: you can start other Mesos frameworks such as Chronos or Storm. It can launch anything that can be launched in a standard shell. In fact, you can even start other Marathon instances via Marathon.

Download, Project, Community.

522 questions
107
votes
2 answers

Marathon vs Kubernetes vs Docker Swarm on DC/OS with Docker containers

I'm looking for some pros and cons of whether to go with Marathon and Chronos, Docker Swarm or Kubernetes when running Docker containers on DC/OS. For example, when is it better to use Marathon/Chronos than Kubernetes and vice versa? Right now I'm…
Johan
  • 29,394
  • 26
  • 118
  • 185
49
votes
4 answers

Marathon vs Aurora and their purposes

Both Marathon and Aurora are built on Mesos and supposedly are engineered for running long running services. My questions are: What are their differences? I have struggled in finding any good explanations regarding their key differences Do these…
user1340582
  • 17,299
  • 31
  • 104
  • 159
20
votes
1 answer

Linked Docker Containers with Mesos/Marathon

I'm having great success so far using Mesos, Marathon, and Docker to manage a fleet of servers, and the containers I'm placing on them. However, I'd now like to go a bit further and start doing things like automatically linking an haproxy container…
William Thurston
  • 395
  • 3
  • 10
19
votes
4 answers

Transport Endpoint Not Connected - Mesos Slave / Master

I'm trying to connect a Mesos slave to its master. Whenver the slave tries to connect to the master, I get the following message: I0806 16:39:59.090845 935 hierarchical.hpp:528] Added slave 20150806-163941-1027506442-5050-921-S3 (debian) with…
benjamin.d
  • 2,599
  • 3
  • 15
  • 33
12
votes
1 answer

mesos-dns, best practice for working with ports

I am quite new to Service Discovery and clustered systems. I started experimenting with Mesos and Marathon for the deployment of Docker containers, the Marathon REST API and UI seem to do a good job. My problem is the actual discovery of deployed…
ummecasino
  • 257
  • 1
  • 11
11
votes
6 answers

Consul not deregistering zombie services

I am deploying a simple hello world nginx container with marathon, and everything seems to work well, except that I have 6 containers that will not deregister from consul. docker ps shows none of the containers are running. I tried using the…
Peter Klipfel
  • 4,441
  • 2
  • 25
  • 43
10
votes
4 answers

How to run a one-off task with Apache Mesos/Marathon?

I'm trying to run a one-off task with Marathon. I'm able to get the task container running, but after the task command completes, marathon runs another task, and so on. How can I prevent Marathon from running more than one task/command? Or, if this…
Sander Smits
  • 1,701
  • 2
  • 15
  • 16
10
votes
4 answers

How to use volumes-from in marathon

I'm working with mesos + marathon + docker quite a while but I got stuck at some point. At the moment I try to deal with persistent container and I tried to play around with the "volumes-from" parameter but I can't make it work because I have no…
hammi
  • 161
  • 1
  • 8
9
votes
2 answers

marathon does not delete a docker container after destroying the job

when I run a docker container as a marathon job, it creates a docker container in the active mesos slave system. when suspend or destroy the docker job what I expect that marathon should delete the docker container as its no longer required. But…
psaha4
  • 339
  • 2
  • 16
8
votes
2 answers

Mesos cluster fails to elect master when using replicated_log

Test environment: multi-node mesos 0.27.2 cluster on AWS (3 x masters, 2 x slaves, quorum=2). Tested persistence with zkCli.sh and it works fine. If i start the masters with --registry=in_memory, it works fine, master is elected, i can start tasks…
mitelone
  • 343
  • 1
  • 10
8
votes
1 answer

Migrate Marathon apps for mesos-slave graceful shutdown

I have a small Mesos cluster and I'm using Marathon to manage a set of long-running services with a variable number of instances each. I'd like to be able to launch new nodes or terminate some of them as required by business needs. However, when…
Rui Gonçalves
  • 1,335
  • 12
  • 25
7
votes
2 answers

Setting up Mesos with Ansible on Ubuntu 14.04 on Digital Ocean

I have been following this tutorial How to configure a production ready Mesos cluster and have been creating an ansible playbook along the way which you can see here mesos ansible playbook Ansible runs successfully and I can visit my port 5050 on a…
Mark
  • 2,889
  • 4
  • 34
  • 74
7
votes
1 answer

--add-host parameter in Marathon docker application

I have docker images (with entrypoints) that I would like to run using Mesos and Marathon. These images require changes in /etc/hosts and /etc/resolv.conf. When I typically run this I would do something like: docker run --add-host host:ip…
Erik Nguyen
  • 759
  • 1
  • 5
  • 20
7
votes
1 answer

Fig / Docker-Compose-like JSON to feed into Mesosphere/Marathon to setup Multi-Tier Application

Does anyone know if it is possible to setup a JSON file to feed into Mesosphere/Marathon to deploy multi-tier application with application dependency? Something along the lines of fig or docker compose when there is one yaml file describing…
user2362699
  • 496
  • 5
  • 16
6
votes
3 answers

How to securely share private docker repo login credentials in Azure container service with Mesos & Marathon

I have setup Azure Container Service using DC/OS + Marathon for deploying Docker containers. So far looks good, I can connect to master node using SSH tunnel and access Mesos and Marathon WebUI as well as hit REST API. Next, I am trying to deploy a…
Anurag Sharma
  • 126
  • 1
  • 11
1
2 3
34 35