Hi Craig,

I'd looked into that, but I was thinking this may cause issues when our cluster 
auto scales up or down, as instances would no longer equal slaves?

Thanks,
Aaron

________________________________
From: craig w [[email protected]]
Sent: 12 March 2015 08:57
To: [email protected]
Subject: Re: Deploying containers to every mesos slave node

Aaron,

You could use Marathon (a Mesos framework) to deploy a container to each host 
by using constraints [1] and setting the number of instances of the container 
to equal the number of slaves.

[1] constraints - https://mesosphere.github.io/marathon/docs/constraints.html

On Thu, Mar 12, 2015 at 4:54 AM, Aaron Carey 
<[email protected]<mailto:[email protected]>> wrote:
Hi All,

In setting up our cluster, we require things like consul to be running on all 
of our nodes. I was just wondering if there was any sort of best practice (or a 
scheduler perhaps) that people could share for this sort of thing?

Currently the approach is to use salt to provision each node and add 
consul/mesos slave process and so on to it, but it'd be nice to remove the 
dependency on salt.

Thanks,
Aaron



--

https://github.com/mindscratch
https://www.google.com/+CraigWickesser
https://twitter.com/mind_scratch
https://twitter.com/craig_links

Reply via email to