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

Setting default `docker run` parameters in Mesos / Marathon

We are running a Mesos cluster and just had an issue with one docker container that essentially fork bombed an agent. Docker has --pids-limit setting that would prevent such issues in the future.…
Gytis
  • 21
  • 4
1
vote
1 answer

Spark on DCOS: Make dispatcher reachable from outside the cluster

We have installed spark service from the marathon catalogue on a DCOS cluster. The json configuration of the service goes like this: { "service": { "name": "spark", "cpus": 1, "mem": 1024, "role": "*", "service_account": "", …
pkaramol
  • 16,451
  • 43
  • 149
  • 324
1
vote
1 answer

How to ignore http requests health check in kubernetes within liveness probe / readiness probe?

I am working on migrating one of the application to kubernetes. I want to discard the result if the health check returns http(100-199). Similar to one which we have in marathon IgnoreHttp1xx (Optional. Default: false): Ignore HTTP informational …
user_01_02
  • 711
  • 2
  • 15
  • 31
1
vote
1 answer

Why does Marathon scheduler restart deployments upon restarting marathon service?

I was testing my job in marathon scheduler and observed that marathon scheduler restarts my completed job upon restarting marathon service(systemctl restart marathon.service). Not sure if i am missing any configuration that would prevent this…
Sunshine
  • 11
  • 1
1
vote
0 answers

mesos master deactivates agent when a pod is deployed through marathon

I have a single node mesos master set up. When I deploy an application through Marathon WebUI, it works fine. But when I deploy a pod by using the marathon API, the mesos master immediately deactivates the agent and pod creation gets stuck. Per…
Rajasekar
  • 37
  • 4
1
vote
2 answers

Deploy Mesosphere Universe package like Marathon-lb via curl command

We can deploy the package with dcos commands like dcos package install marathon-lb but this requires dcos authentication with dcos auth login and since it requires to manually open the browser and paste the code , This is not feasible in automated…
happy
  • 2,550
  • 17
  • 64
  • 109
1
vote
1 answer

Mesos Json to Kubernetes YAML

I'm moving an Apache Mesos application, where my configurations are based in JSON, to Kubernetes, where my configurations are based in YAML. Would the JSON configuration files work as a YAML file since YAML is a superset of JSON, or would I need to…
emp440
  • 11
  • 3
1
vote
0 answers

Setting failover activemq broker in docker on marathon

I am trying to set up activemq brokers as docker containers (in marathon) using the webcenter/activemq image. I was able to successfully set up a single running container with using the following config env vars in my marathon app definition: "env":…
A P
  • 41
  • 1
  • 5
1
vote
1 answer

Zookeeper or Marathon docker container using 100% CPU

I am running a local docker-compose setup which has one Zookeeper container (latest is fetched) and one Marathon container (v1.1.0). Since last month whenever I up my containers my CPU usage goes to 100% after couple of minutes even after I keep it…
harpratap
  • 365
  • 6
  • 12
1
vote
3 answers

How to deploy distributed h2o flow cluster with docker?

I'm able to deploy a h2o cluster with ec2 instances and having the private ip in the flatfile. Doing the same with docker works but I can't figure out what to enter into the flatfile so they can create the cluster. Private IP the container is…
1
vote
1 answer

How to find mesos active resource usage per framework?

We are using Mesos 1.20 + Marathon 1.4.3 to run the SparkJob. I am trying to use an algorithm to forecast the job resource usage to achieve the auto-scale up/down. I can see the dynamic resource usage per framework in Mesos web page at…
Martin Peng
  • 87
  • 1
  • 9
1
vote
0 answers

Expose service in a path using Marathon-lb

I want to expose on a path I use HAPROXY_{n}_PATH, according to docs I have to use a VHHOST. When I use both, I get this: frontend marathon_http_in bind *:80 mode http acl host_foo_bar hdr(host) -i foo.bar.com acl path_foo_bar path_beg…
Hohenheimsenberg
  • 935
  • 10
  • 25
1
vote
1 answer

Application in ACS (DCOS) on any other port except 80

How can I host an application in ACS (DCOS) on any other port except 80? Can I give any other URL instead of using port number to access? { "id": "/dockercloud-hello-world", "cmd": null, "cpus": 0.1, "mem": 128, "disk": 0, "instances": 2, …
1
vote
1 answer

Accessing containers launched in a DC/OS Marathon Pod

Using an example from the DC/OS docs, if I launch a pod using the following definition, I can see that the pod has been successfully deployed. { "id":"/pod-with-endpoint", "containers":[ { "name":"simple-docker", …
1
vote
0 answers

Expose Kafka to outside world in dcos

I'm running Kafka in DCOS. I successfully configured several Kafka producers within the DCOS. Now, I dont know how to connect a Kafka producer running outside of the DCOS; I have read that marathon-lb might help, but cannot really understand or find…
Guda uma shanker
  • 183
  • 1
  • 13