mesos-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Heller, Chris" <>
Subject Re: Running a Marathon Task on every active slave
Date Tue, 11 Nov 2014 14:01:52 GMT
If you are OK with a fixed number of slaves. You could set the number of
instances equal to the number of slaves, and then set the constraints of the
job to: "constraints": [[ "hostname", "UNIQUE" ]].


From:  Leigh Martell <>
Reply-To:  "" <>
Date:  Tuesday, November 11, 2014 at 8:56 AM
To:  "" <>
Subject:  Re: Running a Marathon Task on every active slave

Hey David,
  Yes"ish" from my understanding with the host name constraint(to restrict 1
per host) you can do this but you will need prior knowledge of the amount of
slaves. Here is my reference

Hope that helps!


On Tue, Nov 11, 2014 at 9:31 AM, David J. Palaitis
<> wrote:
> I'd like to have Marathon keep a single, running instance of my command on
> every active slave in the cluster. Is it possible?

View raw message