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

Deploy docker container if health check fails

I'm working with Marathon/Mesosphere and have enabled health checks for my app which is working fine, Marathon shows health check as Green for my app. Now that health check works, I want to use this feature further to deploy new container of my app…
ankit tyagi
  • 778
  • 2
  • 16
  • 27
1
vote
4 answers

How to preserve numeric fields in JSON.stringify

I've got code that takes form fields and converts them into a JSON string suitable for passing to a REST API (the marathon REST API specifically). The problem is that JSON.stringify double quotes all the form field values, even those that are…
Robert Stober
  • 53
  • 1
  • 7
1
vote
0 answers

Mesos Kafka: Task uses more resources than available

I'm trying to launch Kafka on mesos (using Mesosphere Package), the scheduler is launched without any problem, it receives some offers and accepts, then it fails with the following error: message: "Task uses more resources cpus(kafka,…
luis.alves
  • 335
  • 1
  • 3
  • 13
1
vote
1 answer

Marathon on Azure Container Service - cannot scale to all nodes

I have setup up a VM cluster using Azure Container Service. The container orchestrator is DC/OS. There are 3 Master nodes and 3 slave agents. I have a Docker app that I am trying to launch on my cluster using Marathon. Each time I launch, I notice…
user3766324
1
vote
1 answer

mesos/marathon configure marathon-lb, web application one IP address and and URL

I want configure/connect marathon-lp with simple web page running on mesos/maraton. The final result what I want to obtain is web page running on one IP address and another user question should by distributed to next instance of application. …
Arek
  • 89
  • 1
  • 5
1
vote
1 answer

Marathon gives Error Scaling Application, says "please specify data in JSON format"

I have an Azure Container Service (ACS) cluster that's been provisioned using the Mesosphere DC/OS orchestration option. I can create an application within the Marathon UI just fine. However, when I go through the Marathon UI to "Scale Application"…
Chris Pietschmann
  • 29,502
  • 35
  • 121
  • 166
1
vote
1 answer

Persistent volumes on public node

I'm trying to install a containerized app using Marathon to a public slave. It's all working fine until I decide to use persistent volumes. I then get the message Resident apps may not define acceptedResourceRoles other than "*" (unreserved…
apotry
  • 1,856
  • 2
  • 17
  • 23
1
vote
2 answers

Multiple domains differen paths marathon lb

I would like to hit the same service on two domains with different paths. Configured in marathon lb. http://front-dev.marathon.ice.mesos/auth and http://auth-dev.marathon.ice.mesos I have…
freeduck
  • 333
  • 3
  • 7
1
vote
1 answer

Does Mesos-dns provides load balancing?

I was looking at Mesos + Marathon to manage Docker containers. What we're trying to achieve is a way of getting an external DNS entry (test.example.com) to point to a specific set of docker containers. The DNS entry for test.example.com points to a…
ssuummit
  • 45
  • 6
1
vote
1 answer

Deploying applications using marathon using GIT Repository

Is it possible to deploy applications from marathon using git repository for source code and bash scripts to run instances? If yes how to handle authentication in such scenario?
t6nand
  • 710
  • 1
  • 8
  • 20
1
vote
0 answers

Upgrading Docker on DC/OS cluster

I'm running container services using Marathon on a DC/OS cluster running on AWS. After ~3 weeks some of the slave nodes ran out of free space. I've checked inside the nodes and saw that the folder /var/lib/docker/tmp was filled up with ~24gb of data…
Yaron Idan
  • 6,207
  • 5
  • 44
  • 66
1
vote
1 answer

How to specify IP of docker container in Marathon?

We can map docker container port to host machine IP and port using docker run -d -p :: --name But how to specify host machine IP while deploying the same container using Marathon? Where should I…
t6nand
  • 710
  • 1
  • 8
  • 20
1
vote
1 answer

Deploying containerised node.JS application through mesos-marathon

I am using Marathon to deploy my Docker containerised node.js application. My Marathon app spec is as follows : { "id": "", "cmd": null, "cpus": 1, "mem": 2800, "disk": 30720, "instances": 1, "container": { "docker":…
t6nand
  • 710
  • 1
  • 8
  • 20
1
vote
1 answer

Cannot Start Mesos/Marathon Cluster

Physical Machine: 192.168.10.1 ( Mesos, Zookeeper, Marathon ) Virtual Machine: 192.168.122.10 ( Mesos, Zookeeper ) Virtual Machine: 192.168.122.46 ( Mesos, Zookeeper ) OS for all three machines are Fedora 23 Server The two networks are already…
rustysys-dev
  • 843
  • 1
  • 11
  • 22
1
vote
1 answer

Designing scaling services with high available load-balancing

When running self-healing, scalable stateless services in frameworks such as marathon, the "affirmed" pattern is to have a tool for service discovery (e.g., bamboo) that feeds a load-balancer (e.g., HAProxy), preferrably with some automatic…
Vincenzo Pii
  • 18,961
  • 8
  • 39
  • 49