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.

523 questions
1
vote
1 answer

DC/OS 1.9 VIP load balancing not working for advertised ports

When I publish a service with a VIP, the advertised address does not route properly to the advertised port. For example, for a MariaDB Galera 3-node cluster service with a VIP specified as: "labels": { "VIP_0": "/mariadb-galera:3306" …
1
vote
1 answer

How do I make mesos force-pull images when using mesos-execute?

Mesos frameworks like Marathon or Chronos have forcePull-like options for this, to make mesos agents pull the image from the registry. Is the same possible with mesos-execute? Do I have to specify an option in TaskInfo or TaskGroupInfo? I have…
william_grisaitis
  • 5,170
  • 3
  • 33
  • 40
1
vote
1 answer

Zookeeper leader not the Mesos Master

I am new to Mesos and I have built a mesos cluster of three CentOS 7 nodes (all three nodes acting as masters and slaves) in a local hypervisor. The nodes are named mesos1, mesos2 and mesos3 I have this running with Zookeeper marathon and chronos.…
sidx64
  • 426
  • 4
  • 10
1
vote
1 answer

how to auto launch new task instance when mesos-slave stopped?

version Info and command line args mesos-master & mesos-slave version 1.1.0 marathon version 1.4.3 docker server version 1.28 mesos-master's command line args: --zk=zk://ip1:2181,ip2:2181,ip3:2181/mesos \ --port=5050 \ --log_dir=/var/log/mesos…
Jackie
  • 11
  • 1
1
vote
1 answer

How to manage old sandboxes (and clean them up after jobs are no longer running)?

iam new to mesos/marathon, I have a cluster of 5 mesos slaves with one master. The jobs are placed into mesos slaves, the space in /var/lib/mesos/slaves/../executors start increasing when the task fails and tries to deploy it again and…
anudeep
  • 415
  • 6
  • 19
1
vote
0 answers

How to kill a Marathon instance after duration?

I need a Marathon app (Docker container in this case) that is created on demand, then goes away (normal SIGTERM) after a configurable amount of time. What is the best way to implement this? With a health check hack? I initially turned to the API…
Jacob Marble
  • 28,555
  • 22
  • 67
  • 78
1
vote
2 answers

How to suppress marathon accessing logs in "docker logs"?

I run Marathon as a Docker container. When I request logs running "docker logs " I see a lot of records related to access events: [2017-04-24 13:05:59,106] INFO 172.25.250.16 - - [24/Apr/2017:13:05:59 +0000] "GET //vdorct2:8080/v2/queue HTTP/1.1"…
Gulnara
  • 71
  • 6
1
vote
2 answers

How to restart service at scheduled time in Marathon?

Is there any way to have a Docker-based service on Marathon restart itself at a given time everyday? What I'd like is a way to say something like "scale to 0 at midnight and scale it to 1 at 6am" or something like that. On DC/OS there is the notion…
mfirry
  • 3,634
  • 1
  • 26
  • 36
1
vote
1 answer

taskKillGracePeriodSeconds is not working for DC/OS Marathon Application?

We have setup DC/OS(version 1.9) Cluster on AWS nodes. We are creating Marathon Application definition with setting "taskKillGracePeriodSeconds"=60. We are also catching SIGTERM in our application to handle the application shutdown gracefully. But…
Sachin
  • 23
  • 4
1
vote
1 answer

Mesos Marathon deploy was failed when added parameters in Json file

I was trying to deploy ngnix docker container by mesos Marathon, I would like to set some environment variables in the container, so I added parameter section in the Json file, but after I added the parameter section, it was failed. My Json file as…
Jack
  • 5,540
  • 13
  • 65
  • 113
1
vote
1 answer

How to config the marathon-lb when the container run in HOST network?

My json for marathon is below { "id": "/storage/mysql", "cmd": null, "cpus": 1, "mem": 512, "disk": 0, "instances": 1, "constraints": [ [ "hostname", "UNIQUE" ] ], "container": { "type": "DOCKER", …
周子琛
  • 11
  • 4
1
vote
0 answers

How to deploy a echo app to Marathon (on Mesos on Docker on Mac)?

I'm trying to install Mesos on my local machine with Docker. I read this tutorial and changed a bit because I'm using Docker for Mac. My thought is to put zookeeper, master, marathon and slave into one network for intercommunication. What I have is…
Bryan
  • 1,477
  • 1
  • 21
  • 38
1
vote
0 answers

How to set static resources in Mesos / Marathon on DC/OS (Azure)?

I would like to reserve some slaves to run only one framework (for example Chronos). So on the Slave I edit file /var/lib/dcos/mesos-resources and I put this information: MESOS_DEFAULT_ROLE='testrole' next I restarted Slaves: sudo systemctl stop…
1
vote
1 answer

How to config Marathon-lb to load balance a service launched in HOST network?

I have a cluster managed by DC/OS and a dockerized service that I want to deploy through Marathon. I already have a marathon-lb that is being used for service discovery and load balancing of other existing services. All these services are deployed…
Manolis
  • 728
  • 8
  • 24
1
vote
0 answers

Marathon does not register with Mesos

I'm trying to setup a cluster using Mesos Zookeeper and Marathon. I've done some initial setup following the docs in each website. I'm using a virtual box which runs Ubuntu 16.0.4 to run the whole setup. Now I'm starting the mesos master with the…
v1shnu
  • 2,211
  • 8
  • 39
  • 68