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

Mesos/Marathon - reserved resources for role are not offered for Marathon app

I have assigned slave resources to the particular role ("app-role") by set --default_role="app-role" parameter to ExecStart for slave service ( /etc/systemd/system/dcos-mesos-slave.service). Next I have restarted slave agent: sudo systemctl…
Mcmil
  • 795
  • 9
  • 25
0
votes
1 answer

Marathon-lb not returning keep-alive headers

We're in the process of migrating a microservices application to dcos. The current version of the application use nginx as a reverse proxy. In moving to dcos, we'd like to replace nginx with marathon-lb. This is working well, with one exception.…
herbrandson
  • 2,357
  • 2
  • 30
  • 44
0
votes
1 answer

Does the disk property size you define in Marathon include the size of the docker image?

In Mesos you are able to define restrictions for services according the resources (cpu, mem, disk, etc.). In Marathon this can look like: { "id": "/grafana/demo", "instances": 1, "cpus": 1.0, "mem": 256, "disk": 128, "container": { …
Andy
  • 181
  • 1
  • 4
0
votes
1 answer

How to pull docker image with marathon which need to be authorized

I wan to deploy a docker container with marathon, if the docker image without authorized, the image can be pull normally, but when I try to pull an image from repository which need to be authorized, task deploy fail, the response is Failed to launch…
Sam Ho
  • 1,320
  • 2
  • 12
  • 12
0
votes
1 answer

how to reduce task kill period time when task state is TASK_LOST?

I am working around with marathon & mesos & docker very well, but it recently discovered a problem.when mesos-slave encounter an Exception , the state of task on Marathon will change to TASK_LOST , and the task can not be killed only after about…
Jackie
  • 11
  • 1
0
votes
1 answer

Can't access websocket (ws://) url using marathon-lb

I have a container running a jupyter gateway which requires two urls to be accessible a http and websocket url. On localhost, for example, these urls are http://127.0.0.1:8888 and ws://127.0.0.1:8888. When I start my app with marathon and ssh into…
Hamzeh Alsalhi
  • 403
  • 1
  • 4
  • 10
0
votes
0 answers

jenkinci/mesos-plugin can't automatically connect jenkins slave to jenkins master

I have followed the installation guide and I still encounter issues getting jenkins slaves to connect to the master. My mesos slaves are all having a jenkins user. with UID 1000 JAVA_HOME is into mesos slave path as well. Version: mesos:…
Dimitri Kopriwa
  • 13,139
  • 27
  • 98
  • 204
0
votes
1 answer

Marathon Service Ports

I know that 'servicePort' is used by marathon-lb to identify an app. Is there any other user of this setting besides marathon-lb? If the answer is no, why is it mandatory (omitting it well generate one for me)? I have many marathon apps which are…
itaysk
  • 5,852
  • 2
  • 33
  • 40
0
votes
1 answer

Using the Marathon REST API to update a configuration

Using cURL I want to modify the number of instances a group has by passing a json file to update the config. The way my groups are set up looks something like this: 'marathon > applications > topApp' 'marathon > applications > topApp >…
donniemac
  • 1
  • 1
0
votes
0 answers

How to deploy docker image of artifactory-oss on marathon without permissions issues

I am trying to deploy a docker container of artifactory-oss This is the docker-compose.yml I used locally to test it: version: '2' services: artifactory: image: jfrog-docker-registry.bintray.io/jfrog/artifactory-oss:4.1.3 ports: -…
Dimitri Kopriwa
  • 13,139
  • 27
  • 98
  • 204
0
votes
1 answer

How to create a healthcheck HTTP endpoint for Marathon task?

I am trying to setup a custom http health check for a task that I will be running in Marathon. From what I have been reading, Marathon gives you the ability to create a custom health checks by implementing an endpoint in your app with the logic of…
Jason
  • 23
  • 2
0
votes
0 answers

Marathon show TASK_FAILED Failed to run docker container: Port mappings are only supported for bridge and user-defined networks

After setting 3 controllers to include mesos-master, mesos-slave and zookeeper. Marathon was started in last after 3 services run completed. I found INFO message at Marathon log as below [2017-04-07 15:48:32,291] INFO Acknowledge status update for…
R.Chatsiri
  • 107
  • 2
  • 11
0
votes
1 answer

why applications running in mesos is not being registered in consul?

I an using mesos-consul and deployed it via marathon. the json config for the job is { "id": "/mesos-consul", "cmd": null, "cpus": 0.1, "mem": 256, "disk": 0, "instances": 1, "constraints": [ [ "hostname", "LIKE", …
Amit
  • 41
  • 1
  • 6
0
votes
1 answer

does mesos cluster unacceesable when mesos master and agent goes down at same time?

I'm trying to achieve HA with three machines and having masters & slaves like below. I'm using VM's for local test setup and my observations are below. Case 1: m1 -> leader master m2 -> non-leader master, slave1 m3 -> non-leader master,…
Narendra
  • 151
  • 2
  • 12
0
votes
1 answer

how to change the DCOS attributes without restarting slave?

I am facing the problem to add/change attributes of the slave machines in the DCOS environment. After changing attributes in vi /var/lib/dcos/mesos-slave-common MESOS_ATTRIBUTES=TYPE:DB;DB_TYPE:MONGO; file, it not immediately getting updated in…
vimal prakash
  • 1,503
  • 1
  • 22
  • 38