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
0
votes
1 answer

How to specify where the application should run when failover in Marathon

I'm using Mesos and Marathon. I created an application on Marathon. When applications failover to other node in cluster, can we control where they should invoke? I tried with LIKE "Constrains" in Marathon but it doesn't work as my…
xuanhai266
  • 423
  • 3
  • 13
0
votes
1 answer

Docker task starting then stopping without any error

I have a Marathon task that starts a Docker container. It consistently starts, then exits after about 10 seconds. I can't figure out why it's exiting. If I run the exact same Docker command-line directly, the container stays up. I'd appreciate…
ssuummit
  • 45
  • 6
0
votes
1 answer

DC/OS (mesos/marathon) how set time to start killed instance of aplication

I have install DC/OS (3master and 7slave server - all Centos7) I saw problem - when one of slave server shut down - mesos/marathon start killed instance of application after 5 minutes. For example - I run in mesos/marathon 8 instance simple web…
Arek
  • 89
  • 1
  • 5
0
votes
1 answer

Consul UI and service-discovery doesn't update services

Consul user interface doesn't update the services when they change. The problem is that I launch a example.json to marathon and it appear as a service in consul user interface but when I delete that app from marathon, it doesn't delete from the…
Asier Gomez
  • 6,034
  • 18
  • 52
  • 105
0
votes
1 answer

Mesos : Unreserve slaves resources

Is there any way to reset all slaves reserved resources in Mesos, without configuring one by one the /unreserve http endpoint? In Mesos documentation : /unreserve (since 0.25.0) Suppose we want to unreserve the resources that we dynamically reserved…
mr.bagio
  • 11
  • 2
0
votes
1 answer

Mesos failing to deploy container with same spec after destroying initial application

I am using marathon to deploy my containers on mesos cluster. My marathon spec is as { "id": "app-name", "cmd": null, "cpus": 2, "mem": 6500, "disk": 34000, "instances": 1, "container": { "docker": { "image":…
t6nand
  • 710
  • 1
  • 8
  • 20
0
votes
1 answer

Demystify ssh tunneling into Marathon master and agents

We're running DC/OS + Marathon on an Azure cluster (ACS). I find myself in situations where it would be very helpful to tunnel into the master node and more specifically - agent nodes. Then I'd like to run bash commands against my services (docker…
Alex
  • 3,719
  • 4
  • 26
  • 25
0
votes
0 answers

Generic cluster of docker containers on marathon

I am deploying a number of docker containers as marathons apps. Each container should be able to communicate with everyone else using SSH. How do I set hosts and ssh keys for the deployed containers, so that they can communicate with each other…
Andrei Varanovich
  • 492
  • 1
  • 5
  • 16
0
votes
0 answers

Mesos-marthon cluster issue Could not determine the current leader

I am new in Mesos and Marathon services. I have setup 3 master and 3 slave server as per www.digitalocean.com. Configured as it is in master servers as well as slaves. Finally I done setup of Mesos, Marathon, Zookeeper and Chronos. Mesos is able to…
Anilkumar
  • 11
  • 4
0
votes
1 answer

Stoping or re registering orphaned tasks on mesos cluster

I am using marathon to deploy my application on mesos-cluster. Recently I experienced failover in my mesos-master and marathon. On restarting, master was able to identify running old tasks on slave but was not showing them in active tasks pane as…
t6nand
  • 710
  • 1
  • 8
  • 20
0
votes
0 answers

Low memory resource offer from Mesos to Marathon

Software: Marathon 1.1.1, Mesos 0.28.1 Issue: On occasion we've noticed a very low resource offering coming from Mesos to Marathon which results in applications getting stuck in a "WAITING" state. On the slave node system resources are determined by…
dlyub
  • 11
  • 4
0
votes
2 answers

Docker container run error: Container exited on error: exited with status 1

I am running dependency application in marathon, one is mongo DB and other is karesti voting app. I have deployed these applications in marathon within a docker container. First I deployed mongo db and later the voting app. mongo db docker image is…
0
votes
2 answers

How to gracefully do a rolling deployment in mesos-marathon

Currently if you deploy a new version of docker image using mesos-marathon framework, the containers having old images will get a SIGTERM and after 3 seconds they get a SIGKILL and are terminated immediately. If we integrate the framework with…
ajays20078
  • 368
  • 1
  • 3
  • 10
0
votes
1 answer

Unable to start mesos-slave after adding containerizer setting on slave

I want to run docker container through marathon on mesos cluster so I added docker in mesos-slave containerizers configuration with below command. echo 'docker,mesos' > /etc/mesos-slave/containerizers After change mesos-slave its not starting. I am…
ssuummit
  • 45
  • 6
0
votes
1 answer

Marathon tasks not migrating off mesos node goes into draining mode

From the documentation, it seems that when a node goes into mesos node goes into maintenance mode, it sends inverse offers to all of the frameworks. My interpretation of that is that frameworks, such as Marathon, should receive those inverse offers…
Tim Harper
  • 2,561
  • 20
  • 23