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
0 answers

Why Marathon not deleting container from host after destroying UI?

Hi have launched my own elastic search docker from Marathon UI. I can see docker from "docker ps". Now I scaled instances to 2. I can see two dockers from Marathon, Mesos UI and on host also. Now I scaled down to 1 instance. I can see only one…
0
votes
1 answer

How to use a HTTP HEAD request as health check for Marathon?

Look like the protocols HTTP or MESOS_HTTP only do GET request. This works: "healthChecks": [ { "protocol": "COMMAND", "command": "curl -I http://0.0.0.0:5000/", "gracePeriodSeconds": 300, "intervalSeconds": 60, …
wikier
  • 2,517
  • 2
  • 26
  • 39
0
votes
0 answers

Zookeeper restart always falls when restarting

I have a 3 node master setup for marathon and mesos masters, everything is fine until I reboot one of the nodes or try restarting zookeeper. The issue is somehow correlating to the internal DB zookeeper is using, when I delete…
0
votes
1 answer

Launching nvidia-docker containers using Marathon

What is the best way to launch nvidia-docker containers using Marathon? I know Marathon has two ways to launch containers which is basically either providing a shell cmd as an argument in the JSON or by specifying the parameters using the container…
EMChamp
  • 449
  • 1
  • 7
  • 13
0
votes
0 answers

How does the marathon-lb zdd.py script do blue green deployment

Recently I was trying to do a blue green deployment of my marathon app by using the marathon-lb zdd.py script as mentioned in marathon-lb github documentation (https://github.com/mesosphere/marathon-lb#zero-downtime-deployments). And I had the issue…
Tinkaal Gogoi
  • 4,344
  • 4
  • 27
  • 36
0
votes
0 answers

mesos marathon destory but docker container exist centos7.1.1503

mesosphere-zookeeper-3.4.6-0.1.20141204175332.centos7.x86_64 mesos-1.0.1-2.0.93.centos701406.x86_64 marathon-1.3.4-1.0.536.el7.x86_64 docker version 1.11.2 I deploy nginx and then destroy it ,but the containter exit and the containter isn't…
张飞建
  • 51
  • 1
  • 3
0
votes
1 answer

Marathon Proxy loop detected

Running Marathon in HA ver 1.1.1-1.0.472.el7. One of the non-leader nodes is returning 502 "Detecting Proxy Loop". When checking the logs for each request I am seeing the following: Oct 17 11:13:10 marathon-2-server marathon[13362]: [2016-10-17…
0
votes
1 answer

Marathon command run docker-compose up error

I got a issue in Marathon. There are 2 situations Run docker-compose-up -d in Ubuntu command interface. It run and deploy application successfully. Run docker-compose-up -d in Marathon Json file { "id":"/piggy-demo-beta", "cmd":"cd…
0
votes
1 answer

Configure Marathon to not restart tasks that enter TASK_FINISHED

I launch tasks via Marathon. However they finish, Marathon restarts them. I would like them to only restart if they finish in failure. Is there a way such that if the task enters the state of TaskStatus.TASK_FINISHED that Marathon will not restart…
mab
  • 760
  • 4
  • 18
0
votes
1 answer

Does marathon-lb support websockets?

I'm looking to run websockets in marathon tasks (containers) and would like to know if marathon-lb supports the load-balancing of sockets.
0
votes
1 answer

Change -xmx default value for apache marathon on debian

Hi I've installed Apache Marathon (latest version available on APT repo) on Debian 8.5 (Jessie). The configuration in /etc/marathon/conf/ works very well for that kind of parameters but how can I change the default -xmx512m…
guenhter
  • 11,255
  • 3
  • 35
  • 66
0
votes
1 answer

Apache Marathon/Docker Swarm: containers keep repeating

I have a very simple container which says "hello world" I have successfully run them and scale them to X. They all seem to be in a cycle where they would run it then sleep for a bit then run it again. Marathon cycle would be: Waiting, Running,…
ealeon
  • 12,074
  • 24
  • 92
  • 173
0
votes
0 answers

how to list resource offers from a particular mesos slave

Is there a way to figure out all the resource offers from a particular slave? To give you the context some of my slaves which have a specific tag attached to them are not making any offers though in mesos UI I see they are less than 50% loaded. I…
Max
  • 1,202
  • 1
  • 13
  • 21
0
votes
1 answer

How to programmatically specify the IP and port of a dependent docker container created by Marathon?

I am learning Micro-services architecture by writing a small web app. The app has the following components, each of which will be hosted by a docker container. In my API Gateway which is written in NodeJS, there is some place I will…
sliter
  • 1,063
  • 1
  • 17
  • 34
0
votes
2 answers

How to suspend a job using the marathon API

I'm trying to invoke the marathon API to suspend a job. I don't see in the API docs how to do it, but I thought that I could do it by setting instance = 0. But all that's done is cause my job to enter the "Deploying..." state (apparently forever).…
Robert Stober
  • 53
  • 1
  • 7