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

get the url to connect to marathon app via jdbc

I have a marathon app running which runs postgres. [viz. db-instance] I also have another application running on marathon which needs to connect to the first app using a database URL in the jdbc properties file. [viz app-instance] Both of them…
Santanu
  • 25
  • 1
  • 7
1
vote
1 answer

marathon rest api returns no data

I have 3 marathon servers running in HA. when i reach the rest api on the leader, it returns good data. But when i try it against one of the non leader nodes, I do not get any data back...no strings at all. The headers say 200...but no data. Has…
suppandi g
  • 504
  • 1
  • 5
  • 18
1
vote
0 answers

Akka and Docker on Marathon

I have a setup on Mesosphere that uses Marathon to deploy Docker applications. Now each of the Docker applications is a Play application that relies heavily on Akka remoting. What Marathon does with Mesos DNS is that it assigns an internal DNS…
Ashesh
  • 2,978
  • 4
  • 27
  • 47
1
vote
2 answers

how docker containers can communicate in a Mesos/Marathon setup

I have created two docker containers for Apache Airavata. Let's say they are container A nad B. Container B is dependent upon container A. after starting container A, I have to provide the A's IP address as an environment variable to container B.…
Pankaj Saha
  • 21
  • 1
  • 5
1
vote
1 answer

Capture Marathon event notifications from Zookeeper

We need to capture Marathon Application events at various places in our application architecture (Nginx for generating conf files, UI updates in frontend when a marathon app is restarting etc.) Presently, we are polling /v2/apps/{appID} endpoint to…
akskap
  • 803
  • 6
  • 12
1
vote
1 answer

Mesos/Marathon Memory usage limits for Docker

We are created a wordpress container using mesos-Marathon, we allocated 0.1 CPU and 64mb RAM. When we check the docker stats, we observed that memory allocations we differed with what we are allocated in marathon, Is there any way to update memory…
Rajiv Reddy
  • 153
  • 1
  • 9
1
vote
1 answer

Marathon jobs are hanging in the deployment stage

I've created a one mesos master and three mesos slave environment. Now, marathon is running as a framework for mesos jobs. I am trying to deploy a simple job: { "id": "basic-0", "cmd": "while [ true ] ; do echo 'Hello Marathon' ; sleep 5 ;…
Pankaj Saha
  • 21
  • 1
  • 5
1
vote
2 answers

If an marathon app running in a docker image, is in 'deploying' state, where can we check the reason why the app isn't deploying?

Have checked this URL (https://support.mesosphere.com/hc/en-us/articles/205575835-My-Marathon-app-isn-t-deploying-What-s-wrong-) the logs did not show any reason. Also logs in /var/log/syslog and /var/log/mesos do not give any reason. The JSON file…
Rajasi Kulkarni
  • 111
  • 1
  • 11
1
vote
4 answers

Mesos cluster deployment with Marathon

I have three machines M1, M2 & M3. I deployed mesos-master, zookeeper and marathon on M1 And mesos-slave on M2 & M3. However, on Mesos Gui, there are ZERO slaves being shown. Then I ran the command mesos-resolve cat /etc/mesos/zk to check if slave…
Nitin
  • 165
  • 1
  • 9
1
vote
1 answer

How to completely destroy docker container from marathon UI?

I have docker registry from where Mesos pull the containers.My problem is when i destroy the app from Marathon UI and again call the Marathon rest api to deploy the app with same version of app, Mesos is not pulling image from the Master Docker…
1
vote
1 answer

frequent restart - docker containers in marathon/mesos

I have been successful till completely dockerizing my webserver application. Now I want to explore more by deploying them directly to a mesos slave through marathon framework. I can deploy a docker container in to a marathon in two different…
psaha4
  • 339
  • 3
  • 17
1
vote
2 answers

How to select CPU parameter for Marathon apps ran on Mesos?

I've been playing with Mesos cluster for a little bit, and thinking of utilizing Mesos cluster in our production environment. One problem I can't seem to find an answer to: how to properly schedule long running apps that will have varying…
Sergey
  • 1,181
  • 7
  • 18
1
vote
2 answers

Docker container disk size in mesos and marathon

Does Marathon impose a disk space resource limit on Docker container applications? By default, I know that Docker containers can grow as needed in their host VMs, but when I tried to have Marathon and Mesos create and manage my Docker containers, I…
Erik Nguyen
  • 839
  • 1
  • 6
  • 21
1
vote
0 answers

Mesos Marathon Slave Failover Time

I've been doing some preliminary HA testing with marathon and can't get the recovery time below 1.5 minutes. As I am running Mesos version 0.22.1, I did not set the checkpoint flag and setting executor_registration_timeout to 10s and 15s does not…
Nastooh
  • 123
  • 4
1
vote
1 answer

Problems using Marathon Constraints

I'm running a mesos + marathon cluster and so far everything works fine. But I can't figure out how to use constraints in marathon. I have tagged my mesos slaves with attributes $ cat /etc/mesos-slave/attributes/category SERVICE To the marathon…
hammi
  • 161
  • 1
  • 8