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
2 answers

GWT SerializationException, but only when marathon-LB is involved

I have a GWT webapp running fine -- unless I put it behind a Marathon-LB load-balancer and use HTTPS. The failure happened around a POST. When the webapp is not behind Marathon-LB, the POST would get a 200 OK. But when it is behind…
leeyuiwah
  • 6,562
  • 8
  • 41
  • 71
1
vote
0 answers

How to run jenkins slave on specific Mesos node?

I want to run jenkins slave using mesos-plugin in jenkins on Mesos nodes that have: "attributes": { "environment": "baremetal" } so I added in slave configuration in Mesos Offer Selection Attributes field: {"environment":"baremetal"} but I cant…
widget
  • 421
  • 1
  • 5
  • 17
1
vote
2 answers

How to change Mesos and Marathon port?

I am starting Mesos and Marathon using the following commands: sudo service mesos-master start sudo service marathon start By default, Mesos is run on port 5050 and Marathon is run on port 8080. How can I change these default ports?
Chintamani
  • 1,076
  • 7
  • 23
  • 47
1
vote
2 answers

How to prevent removal of unused docker container images in DCOS cluster?

We are running our application on a DCOS cluster in Azure Container Service. Docker image of our marathon app is approx 7GB. I know this is against best practices but lets keep that debate aside for this question. We pull latest on worker nodes and…
ckb
  • 290
  • 1
  • 3
  • 9
1
vote
2 answers

Why does Docker kill jvm?

I use DCOS with Spring boot applications inside Docker containers. I noticed that sometimes containers are killed, but there are no errors in the container logs, only: Killed W1114 19:27:59.663599 119266 logging.cpp:91] RAW: Received signal SIGTERM…
Nikita
  • 4,435
  • 3
  • 24
  • 44
1
vote
1 answer

Marathon-LB multiple instances through Bridge network doesnt work

I am using marathon-lb on dcos. When the load increases i get an error 'Maximum connections reached' and marathon-lb fails. So i am trying to get multiple instances of marathon-lb running on the same node with below config. But this doesnt work,…
Robin
  • 21
  • 2
1
vote
2 answers

Set mesos/marathon given docker container name

I have a number of Docker based microservices which all need to talk to each other. They use container names to talk to each other. Thus, when I run this with Docker Swarm or Kubernetes (w Flannel), they rely on the Docker DNS to resolve container…
Andi Jay
  • 5,882
  • 13
  • 51
  • 61
1
vote
1 answer

IP of running instances is not propagated

I have a running Mesos/Marathon cluster but the ip of the running instances is not propagated to the Marathon-UI or the traefik proxy. My mesos setup: ExecStart=/bin/bash -c "/usr/sbin/mesos-slave \ --hostname=$(/usr/bin/hostname) \ …
Lenny
  • 143
  • 7
1
vote
1 answer

Sample Mesos marathon setup

I am trying to setup one single mesos master, mesos slave and a marathon instance using docker compose. Mesos master and slave starts up without any issues but it's throwing error at marathon start up: marathon: image:…
Pinaki Mukherjee
  • 1,616
  • 3
  • 20
  • 34
1
vote
1 answer

Marathon backoff - is it really exponential?

I'm trying to figure out Marathon's exponential backoff configuration. Here's the documentation: The backoffSeconds and backoffFactor values are multiplied until they reach the maxLaunchDelaySeconds value. After they reach that value, Marathon…
Nik I.
  • 177
  • 1
  • 11
1
vote
1 answer

Re-Attaching a DCOS agent node to DCOS

We have a DCOS 1.9.0 cluster set up with 11 public agent nodes ( CentOS ). However sometime in the last couple of days one of the agent nodes got detached and it is not available in the DCOS UI. I'm able to ssh and access the agent node which has…
pjesudhas
  • 399
  • 4
  • 13
1
vote
0 answers

Experiencing "Connection reset by peer" while using grpc on Mesosphere Marathon

I'm getting tons of these errors deploying a grpc (1.5.0) java app on marathon. Aug 01, 2017 4:49:12 PM io.grpc.netty.NettyServerTransport notifyTerminated SEVERE: Transport failed java.io.IOException: Connection reset by peer at…
mfirry
  • 3,634
  • 1
  • 26
  • 36
1
vote
1 answer

Kafka partition leader not updated after broker removed

I have Kafka cluster managed by marathon/mesos which had 3 brokers version 0.10.2.1. The docker images are based on wurstmeister/kafka-docker. The broker.id=-1 which is assigned automatically and sequentially at start up and leaders are…
Kyr
  • 5,383
  • 2
  • 27
  • 22
1
vote
0 answers

How to hide ports and instead use routes using HAPROXY labels in marathon-lb

I'm running several services on a Mesos cluster using marathon-lb to route requests to service. Currently I can hit services using routes like 1.2.3.4:1000, 1.2.3.4:2000, etc. What I'd like instead is to hide the ports and hit the services like…
1
vote
1 answer

How to scale up docker instances using Apache Marathon REST API.?

Is it possible to scale up and down number of docker containers/instances using Mesosphere Marathon REST API? Endpoint GET /deployments seems to be only option to see the next possible operation. How to scale up the instances using REST API…
ramanKC
  • 197
  • 1
  • 3
  • 16