Hey Diptanu, these are all great suggestions. Do you mind creating JIRAs
for them?

Thanks!


On Fri, Jun 20, 2014 at 4:20 PM, Diptanu Choudhury <[email protected]>
wrote:

> Great timing for this thread!
>
> I have been working on this for the past few months and here is what I am
> doing and would be nice if docker was supported straight way in Mesos. So
> here goes the features that I would personally love to see in Mesos Core
> from the perspective of an user which I had to implement on my own -
>
> a. Mesos understanding docker metrics which should be straightforward
> because docker writes all its metrics in the following fashin for cpu,
> blkio, memory etc - /sys/fs/cgroup/cpu/docker/<conntainerid>
> I am sending all these metrics right now as a framework message back to my
> framework/scheduler but it would be cool if Mesos took care of them.
>
> b. Easier way to map tasks to docker containers, probably the external
> containerizer takes care of it to a large extent. It would be helpful if
> there was a blog about it's API and internals by the core committers
> explaining the design. Even a simple example in the mesos codebase using
> the external containerizer would help.
>
> c. stdout and stderr of docker containers in the Mesos task stdout and
> stderr logs. Does the external containerizer already takes care of it? I
> had to write a service which runs on every slave for exposing the container
> logs to an user.
>
> d. Mesos GC of tasks taking care of cleaning up docker containers which
> have terminated. Right now the way I implemented this is that the service
> which exposes the logs of a container also listens to docker events and
> when a container exits, it knows that this has to be cleaned up and so
> removes it after a fixed amount of time[configurable through a Rest
> API/config file]
>
> e. Translate all task constraints to docker run flags. This is probably
> the easiest and I know it's super easy to implement with the external
> containerizer.
>
>
> On Fri, Jun 20, 2014 at 3:40 PM, Tobias Knaup <[email protected]> wrote:
>
>> Hi all,
>>
>> We've got a lot of feedback from folks who use Mesos to run Dockers at
>> scale via Deimos, and the main wish was to make Docker a first class
>> citizen in Mesos, instead of a plugin that needs to be installed
>> separately. Mesosphere wants to contribute this and I already chatted with
>> Ben H about what an implementation could look like.
>>
>> I'd love for folks on here that are working with Docker to chime in!
>> I created a JIRA here: https://issues.apache.org/jira/browse/MESOS-1524
>>
>> Cheers,
>>
>> Tobi
>>
>
>
>
> --
> Thanks,
> Diptanu Choudhury
> Web - www.linkedin.com/in/diptanu
> Twitter - @diptanu <http://twitter.com/diptanu>
>

Reply via email to