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

Issue with Haproxy Reload

We are using Haproxy on top of Mesos cluster, We are doing dynamic reloads for Haproxy based on marathon events (50-100 times in a day). We have nearly 300 applications that are running on Mesos (300 virtual hosts in Haproxy). When we do dynamic…
Rajiv Reddy
  • 153
  • 1
  • 9
2
votes
2 answers

Strange behavior when using Marathon Health Check with the command protocol and a container

I can't figure out why the following request won't start health checking in Marathon. The container is started but the status remains Deploying { "id": "bridged-webapp", "cmd": "python3 -m http.server 8080", "cpus": 0.1, "mem": 64.0, …
TeaBough
  • 165
  • 6
2
votes
1 answer

LXC integration and auto-scaling with Mesos

Whereever I am looking for LxC integration with Mesos, I am getting DOCKER + MESOS or DOCKER + MESOS + MARATHON. No where there is to find a tutorial about LxC integration with Mesos and auto-scaling. I was trying to deploy nginx - LxC…
Joddy
  • 2,557
  • 1
  • 19
  • 26
2
votes
1 answer

unable to run docker container using marathon

I am trying to run docker container using apache marathon/mesos. In the official documentation they have mentioned echo "docker,mesos" > /etc/mesos-slave/containerizers should be done to use docker. But there is no such file or directory on my…
Maripi
  • 81
  • 1
  • 4
2
votes
1 answer

Docker app deployment hangs on Marathon, fails on Mesos

I'm attempting the (potentially foolish) task of Dockerizing Zookeeper/Marathon/Mesos and deploying Docker containers from the Dockerized Mesos cluster. So far, I have a working Mesos cluster on two physically separate nodes: one node is running…
Magsol
  • 4,640
  • 11
  • 46
  • 68
2
votes
1 answer

How do I cleanly shut down a mesos-slave?

I have a use case where I need to cleanly shut down a mesos-slave and stop all the frameworks that are executing on the node. Using Marathon and Spark and docker as a containerizer, so there are several other docker containers running for the…
TREE
  • 1,292
  • 2
  • 12
  • 21
2
votes
3 answers

Mesos cannot deploy container from private Docker registry

I have a private Docker registry that is accessible at https://docker.somedomain.com (over standard port 443 not 5000). My infrastructure includes a set up of Mesosphere, which have docker containerizer enabled. I'm am trying to deploy a specific…
user695624
  • 123
  • 1
  • 8
2
votes
1 answer

How to use variable in Marathon Docker parameters

I'm using Marathon to run a Docker container, and am trying to set the DNS server for that container to point to a Consul agent on the local host. Inside the container, Marathon/Mesos is setting environment variables (which can be used in "args"),…
Arthur Barr
  • 628
  • 5
  • 9
2
votes
2 answers

Strategy to persist the node's data for dynamic Elasticsearch clusters

I'm sorry that this is probably a kind of broad question, but I didn't find a solution form this problem yet. I try to run an Elasticsearch cluster on Mesos through Marathon with Docker containers. Therefore, I built a Docker image that can start on…
Tobi
  • 31,405
  • 8
  • 58
  • 90
2
votes
1 answer

Chronos "Force Run" via API

On Chronos WebUI, I can "Force Run" jobs and immediately get results. Is it possible to perform "Force Run" via Chronos REST API? Thank you.
ai0307
  • 4,037
  • 2
  • 13
  • 21
2
votes
2 answers

Docker container on Marathon doesn't finish

I have Mesos cluster consists of 3 CentOS6.5 machines. ZooKeeper and Mesos-Master is running on one of the machines and Mesos-Slave is running on each machine. Also, Marathon is running on master node. Then, I am trying to run docker containers on…
ai0307
  • 4,037
  • 2
  • 13
  • 21
2
votes
1 answer

Apache Marathon app and container relation

I would like to understand the relation between a Marathon App and a container. Is it really so, that a Marathon App definition can contain only a single container definition (1:1)? As far as I understand the Marathon REST API, link attached, the…
janosi
  • 89
  • 8
2
votes
1 answer

Why marathon does not terminate jobs after the quorum is lost?

I'm working with Apache mesos and marathon. I have 3 master nodes and 3 slave nodes. I configure mesos with quorum 2. Later I post a JSON to run one job with marathon and all look fine. Then I try a shutdown of two master nodes to break the quorum,…
enrique-carbonell
  • 5,836
  • 3
  • 30
  • 44
2
votes
0 answers

Unable to remove task from marathon

Due to my mesos-master suddenly lost connection. It puts marathon in a really odd state where I can not remove tasks. Wait for marathon to figure out that a task has been lost but I have no way to manually clean it away. Anyway I can kill the task…
user4136080
  • 165
  • 1
  • 6
  • 21
2
votes
1 answer

Jenkins copy to hdfs

I have tried several artifacts plugins for Jenkins but so far have been unsuccessful with the task: I use hadoop as a file system for deployments and deploy my app from hadoop (mesos/marathon can only access http or hdfs). How do I make Jenkins save…
elmalto
  • 1,008
  • 1
  • 14
  • 23