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

Pass default parameters to container in apache-mesos

I'm trying to pass default parameters such as volumes or envs to my docker container, which I create through Marathon and Apache Mesos. It is possible through arguments passed to mesos-slave. I've put in /etc/mesos-slave/default_container_info file…
0
votes
1 answer

marathon sticky seesion how to enable for apllication level session management

Can someone help how to configure marathon lb to enable session on my single packaged web application. I dont have any service. Its just an web application having session management. I do not want to implement different caching layer to maintain…
0
votes
1 answer

How to define a specialized node in docker orchestration

I want to deploy a application split in Producer, FIFO and Consumer services. I have several Producer that push jobs in a Queue and Several Consumer that treat jobs. To simplify the deployment process, I would like to use a docker orchestration app…
Erwan
  • 587
  • 4
  • 23
0
votes
1 answer

Mesos java Application Monitoring

I am running a java application on Mesos and Marathon. How do i monitor the heap stats of the java process? I tried jstat which complains "pid not found", but the process is running and i can check it by 'ps auwx'. Is this because the java process…
Paul
  • 159
  • 2
  • 9
0
votes
1 answer

Marathon-lb rules for different paths

My marathon-lb configuration: "labels": { "HAPROXY_GROUP": "external", "HAPROXY_0_VHOST": "test.com", "HAPROXY_0_MODE": "http" } I want it route only requests like test.com/12345 to internal endpoint /results?q=123. How to achieve…
Nikita
  • 4,435
  • 3
  • 24
  • 44
0
votes
1 answer

How do I route by path in DC/OS?

Let's say I have a single domain fooapi.com and two versions of the API: v1 and v2. How do I configure HAProxy in the marathon.json file so that both API versions can live behind the same domain but with a different path? Eg. fooapi.com/v1/ and…
Răzvan
  • 981
  • 9
  • 20
0
votes
1 answer

How to setup mesos-dns resolve crossing cluster

I setup a Mesos cluster with vm machines, machine A (master + agent) and machine B(agent only), and I also run Marathon and Mesos-dns on machine A, both agents support docker. I startup a web application with docker via Marathon, the docker…
Sam Ho
  • 1,320
  • 2
  • 12
  • 12
0
votes
2 answers

How to launch a framework via Mesos REST API

Everyone: I'm wondering how to launch a framework (e.g. a docker app) via Mesos' REST API? I just checked all the HTTP endpoints. But I don't see anything helpful. The reason for this question is that, I've tried Marathon, which just need a…
MyCoy
  • 61
  • 5
0
votes
1 answer

Mesos/Marathon scalling a web application

I'm reading up and doing basic mesos/marathon installation. If Im deploying a webapp as a marathon application, the instance(s) of my webapp could run in any mesos slave. Howe would I then configure my nginx upstream to point to correct host(s).…
Sajith Silva
  • 823
  • 1
  • 13
  • 24
0
votes
2 answers

Does Marathon has a "exec" command?

As you know, there is a "docker exec" command in Docker to execute a command in a container. There is a "kubectl exec "command in K8S to execute a command in a K8S poc. So, is there a "marathon exec " like command in Marathon to execute commands in…
styshoo
  • 563
  • 4
  • 9
0
votes
1 answer

Destroying app from Marathon puts it into the Deployments. How to destroy app in marathon?

I am trying to destroy my sample apps that I deployed using marathon framework. Now I am trying to destroy that app but unfortunately, I can not destroy them for some reason. I have already tried: restarting marathon service on my slave. restarting…
0
votes
0 answers

Trying to monitor resource usage of a kvm/qemu virtual machine with mesos

I’m currently deploying a kvm/qemu virtual machine with mesos/marathon. In marathon, I’m using the built in mesos command executor and running the script. virsh start centos7.0; while true; do echo 'centos 7.0 guest is running'; sleep 5; done Note…
Jason
  • 23
  • 2
0
votes
1 answer

Can't Connect to Service via Marathon-lb using DCOS

I recently went through the tutorial for load balancing apps in DCOS using marathon-lb (in the example they balance some nginx containers: https://dcos.io/docs/1.9/networking/marathon-lb/marathon-lb-advanced-tutorial/). I am trying to use this…
0
votes
1 answer

Is "args" in Mesosphere equivalent with environment variables in docker run command?

I have a json template for micro service to deploy using Mesosphere: { "id": "service", "container": { "docker": { "image": "foo/foo:latest" }, "type": "DOCKER", "volumes": [] }, "args": [ "--key", "value" ], …
Casper
  • 1,663
  • 7
  • 35
  • 62
0
votes
2 answers

SSH into a DC/OS created public agent node to deploy a Docker container?

Q: I wish to SSH into a DC/OS public agent to mount my file share with Docker credentials, so I can deploy Docker via Marathon. How can I ssh directly into this agent node? Without going through master? Backstory: I did a vanilla DC/OS installation…
Varun Arora
  • 332
  • 4
  • 8