[ 
https://issues.apache.org/jira/browse/MESOS-7990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16175460#comment-16175460
 ] 

Jie Yu commented on MESOS-7990:
-------------------------------

[~jasonlai] Yes, i am aware of that (the naming convention). In fact, we're not 
supposed to touch named systemd cgroup hierarchy manually. However, major 
container orchestrators (docker, k8s) all manipulate systemd cgroup hierarchy 
directly. They all have an alternative mode that supports systemd more natively 
(using machined or system slice for containers, like rkt does).

We want to support both too. The native systemd support will be added later. 
This ticket is for the cgroupfs support.

> Support systemd named hierarchy (name=systemd) for Mesos Containerizer.
> -----------------------------------------------------------------------
>
>                 Key: MESOS-7990
>                 URL: https://issues.apache.org/jira/browse/MESOS-7990
>             Project: Mesos
>          Issue Type: Improvement
>          Components: containerization
>            Reporter: Jie Yu
>
> Similar to docker's cgroupfs cgroup driver, we should create cgroups under 
> /sys/fs/cgroup/systemd (if it exists), and move container pid into the 
> corresponding cgroup ( /sys/fs/cgroup/systemd/mesos/<cid>).
> This can give us a bunch of benefits:
> 1) systemd-cgls can list mesos containers
> 2) systemd-cgtop can show stats for mesos containers
> ...



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to