mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrei Budnik <abud...@mesosphere.com>
Subject Re: Review Request 71965: Cgroups isolator: added support for nested cgroups during launch.
Date Thu, 09 Jan 2020 21:03:32 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/71965/
-----------------------------------------------------------

(Updated Jan. 9, 2020, 9:03 p.m.)


Review request for mesos, Greg Mann and Qian Zhang.


Bugs: MESOS-10076
    https://issues.apache.org/jira/browse/MESOS-10076


Repository: mesos


Description
-------

This patch adds support for nested cgroups for nested containers.
Nested cgroups are created only for a nested container with explicitly
enabled `share_cgroups` flag. The cgroups isolator stores info about
nested cgroups in the `infos` class variable, which is used to
determine whether a nested container has its nested cgroup.


Diffs
-----

  src/slave/containerizer/mesos/isolators/cgroups/cgroups.hpp 4bd3d6dad37dee031660c15e957cc36f63e21fcb

  src/slave/containerizer/mesos/isolators/cgroups/cgroups.cpp b12b73d8e0161d448075378765e77867521de04e



Diff: https://reviews.apache.org/r/71965/diff/1/


Testing
-------


Thanks,

Andrei Budnik


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message