Re: How to start two slaves on a single machine?

2016-01-12 Thread Du, Fan
How to make slave_a to use first half of cpu/memory and slave_b use the rest of it? On 2016/1/12 20:54, haosdent wrote: Yes, need use different work_dir and port. On Tue, Jan 12, 2016 at 8:42 PM, Du, Fan > wrote: Just my 2 cents. I guess

Re: How to start two slaves on a single machine?

2016-01-12 Thread haosdent
Yes, need use different work_dir and port. On Tue, Jan 12, 2016 at 8:42 PM, Du, Fan wrote: > Just my 2 cents. > > I guess the spew is caused by the same work_dir. > Even with two different work_dir, how does cpu/mem resources are > partitioned for two slave instances? > I'm

Run Kubernetes on top of Mesos by a Docker-Compose.yml

2016-01-12 Thread Den Cowboy
I'm searching for a tutorial or 'example' of a docker-compose.yml which is using mesos, and kubernetes (on top of it). Is there something which I can use? Thanks

Re: How to start two slaves on a single machine?

2016-01-12 Thread Du, Fan
On 2016/1/12 21:14, haosdent wrote: what I mean is how to prevent two slaves from using the same cpu at the same time? I think this is handled by container. Different contains would try to use different resources. I will dig the code for us to get a ultimate answer. otherwise I will try to

Access to Design Doc

2016-01-12 Thread John Omernik
Is there a place to request google doc permissions on the design doc here: https://issues.apache.org/jira/browse/MESOS-2840

Re: external storage with dvdi module

2016-01-12 Thread Pradeep Chhetri
Hello, Thank you for developing this awesome module. I am trying it out to see if i can use it with frameworks which needs data persistence. I wanted to know whether it works for mesos tasks started as docker container as well. I am unable to create/attach disk to marathon apps started with

How to start two slaves on a single machine?

2016-01-12 Thread Shiyao Ma
Hi, When trying starting two slaves on a single host, I encoutered with the following error: paste: http://sprunge.us/bLKb Apparently, the second slave was *mis-understood* as the recovery of the first. The slaves are configured identically other than the ports. Regards. --

Re: How to start two slaves on a single machine?

2016-01-12 Thread Du, Fan
Just my 2 cents. I guess the spew is caused by the same work_dir. Even with two different work_dir, how does cpu/mem resources are partitioned for two slave instances? I'm not aware how current resources parsing logic support this( probably not). but why not use slave docker image to do the

Re: How to start two slaves on a single machine?

2016-01-12 Thread Klaus Ma
The resources of slave can be defined by "--resources"; but can not define 50% cpu by default. There's a module in Agent to report how many resources can be used by current slave. For this case, "--resources" is enough for him :). Da (Klaus), Ma (马达) | PMP® | Advisory Software Engineer

Re: How to start two slaves on a single machine?

2016-01-12 Thread haosdent
>what I mean is how to prevent two slaves from using the same cpu at the same time? I think this is handled by container. Different contains would try to use different resources. On Tue, Jan 12, 2016 at 9:10 PM, Du, Fan wrote: > thanks for the explanation. > what I mean is how

Re: Linking mesos tasks to Docker containers

2016-01-12 Thread Scott Rankin
Got it. Thanks Qian, haosdent – I had been looking at /monitor/statistics.json on the slave, but not state.json. Scott From: Qian Zhang > Reply-To: "user@mesos.apache.org"

Re: How to start two slaves on a single machine?

2016-01-12 Thread Du, Fan
thanks for the explanation. what I mean is how to prevent two slaves from using the same cpu at the same time? Apparently if we launch two slave instances, they should have distinct(non-overlapped) cpu/mem resources to report back to master. How does current code to archive this

Re: How to start two slaves on a single machine?

2016-01-12 Thread Vaibhav Khanduja
Tried something similar here, http://veekeay.blogspot.com/2016/01/fine-grained-resource-management-using.html On Tue, Jan 12, 2016 at 5:19 AM, Klaus Ma wrote: > The default behaviour it to report all cpu/mem; but there's a > module/plugin to report resources on demand,

Re: external storage with dvdi module

2016-01-12 Thread Vaibhav Khanduja
Please try this http://blog.emccode.com/2015/08/28/run-your-stateful-apps-with-mesos-and-docker/ Sent from my iPhone. Please excuse the typos and brevity of this message. > On Jan 12, 2016, at 3:45 AM, Pradeep Chhetri > wrote: > > Hello, > > Thank you for

Re: Run Kubernetes on top of Mesos by a Docker-Compose.yml

2016-01-12 Thread James DeFelice
Look at cluster/mesos/docker in the official k8s github repo. On Jan 12, 2016 7:57 AM, "Den Cowboy" wrote: > I'm searching for a tutorial or 'example' of a docker-compose.yml which is > using mesos, and kubernetes (on top of it). > Is there something which I can use? > >

Re: Access to Design Doc

2016-01-12 Thread Greg Mann
Hi John, I just shared the doc with you; let me know if you still have trouble accessing it. Cheers, Greg On Tue, Jan 12, 2016 at 11:42 AM, John Omernik wrote: > Is there a place to request google doc permissions on the design doc here: > >