Re: cron-like scheduling in mesos framework?

2017-01-10 Thread l vic
Great, but I have several servers: 3 different containers running on 3 different nodes. If i try to schedule the job : curl -L -H 'Content-Type: application/json' -X POST http://chronos-node: 2002/scheduler/iso8601 -d ' { "schedule":

Re: cron-like scheduling in mesos framework?

2017-01-10 Thread Stephen Gran
Hi, Chronos launches a new task to perform the job. Think of it more like cron launching a new process when this is run on a single server. Cheers, On 10/01/17 15:31, l vic wrote: > If I have cluster of 3 running containers - how Chronos will select one > to schedule the job? > > On Fri, Jan

Re: cron-like scheduling in mesos framework?

2017-01-10 Thread Stephen Gran
Hi, This is what I'm trying to say, perhaps not very clearly: the task 'ls /' will be run in a 4th container. It is a new process. Cheers, On 10/01/17 15:54, l vic wrote: > Great, but I have several servers: 3 different containers running on 3 > different nodes. If i try to schedule the job :

Re: cron-like scheduling in mesos framework?

2017-01-10 Thread l vic
OK, got it, thanks. That makes it useless for data backup though, if chronos starts new container on the node where it does not have an access to db data On Tue, Jan 10, 2017 at 11:14 AM, Stephen Gran wrote: > Hi, > > This is what I'm trying to say, perhaps not very

Re: Providing end-user feedback on Docker image download progress

2017-01-10 Thread Zhitao Li
Hi Franck, Can you enable comment on the doc? Thanks! On Tue, Jan 10, 2017 at 6:52 AM, Frank Scholten wrote: > Here is a very rudimentary design doc on image download progress: > https://docs.google.com/document/d/1x9dtcNgwecAp1xAHeDH- >

Re: cron-like scheduling in mesos framework?

2017-01-10 Thread Diogo Gomes
For this purpose, you should use constraints. https://mesos.github.io/chronos/docs/api.html#constraints Diogo Gomes > On 10 de jan de 2017, at 14:31, l vic wrote: > > OK, got it, thanks. > That makes it useless for data backup though, if chronos starts new container

Re: cron-like scheduling in mesos framework?

2017-01-10 Thread l vic
suppose i have more than one db container on the same node... I don't think I can constrain to the certain container-id, or can i? On Tue, Jan 10, 2017 at 11:58 AM, Diogo Gomes wrote: > For this purpose, you should use constraints. > >

Re: Providing end-user feedback on Docker image download progress

2017-01-10 Thread Frank Scholten
Here is a very rudimentary design doc on image download progress: https://docs.google.com/document/d/1x9dtcNgwecAp1xAHeDH-FJOJRIWC3OfC2akX8LLWNcs/edit?usp=sharing Feel free to comment. Cheers, Frank On Tue, Jan 10, 2017 at 8:49 AM, Frank Scholten wrote: > Hi Jie, > >

Re: 答复: Optimize libprocess performance

2017-01-10 Thread tommy xiao
Looking forward to seeing the benchmarks. 2017-01-06 5:52 GMT+08:00 Benjamin Mahler : > Ok great, thanks for sharing. Looking forward to seeing the benchmarks. > > On Wed, Jan 4, 2017 at 10:31 PM, pangbingqiang > wrote: > > > We write a light k-v

Re: cron-like scheduling in mesos framework?

2017-01-10 Thread l vic
If I have cluster of 3 running containers - how Chronos will select one to schedule the job? On Fri, Jan 6, 2017 at 1:33 PM, Radek Gruchalski wrote: > Chronos launches a task on Mesos whenever a scheduled event is bound to > happen. > You can run a container task with