diff options
author | Fabricio Voznika <fvoznika@google.com> | 2021-05-17 13:52:51 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-05-17 13:54:46 -0700 |
commit | d96499d17deb4fcf4cec949d90a48b1673198867 (patch) | |
tree | 0b9689e46689794bd02f7795392719330466240f /test/util/mount_util_test.cc | |
parent | 7654181cc7c4f7633a1e96280bfd32391a3fbce3 (diff) |
Make sandbox join the pod cgroup in K8s
cgroups in K8s are setup with the following hierarchy: `.../pod/container`.
The sandbox is created with the first container and consequently uses the
the pause container cgroup. This change removes the container cgroup from
the path to make the sandbox use the pod cgroup instead. Otherwise limits
set to the pause container will apply to the entire sandbox.
PiperOrigin-RevId: 374273277
Diffstat (limited to 'test/util/mount_util_test.cc')
0 files changed, 0 insertions, 0 deletions