diff options
author | Fabricio Voznika <fvoznika@google.com> | 2021-10-11 14:27:41 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-10-11 14:30:14 -0700 |
commit | b9176535cea01e35f819edf312d0f5e7da3e8ffd (patch) | |
tree | f1329ec66dbe3aff7262fcfbe14de357d152b175 /pkg/sentry/kernel/futex/futex.go | |
parent | 125fae59beb2a054061fab4cc300994b753e127a (diff) |
Create subcontainer cgroups for compatibility
Tools (e.g. cAdvisor) watches for changes inside /sys/fs/cgroup to detect
when containers are created and deleted. With gVisor, container cgroups were
not created because the containers are not visible to the host.
This change enables the creation of [empty] subcontainer cgroups that can
be used by tools to detect creation/deletion of subcontainers. This change
required a new annotation to be added so that the shim can communicate the
pod cgroup path to runsc, so pod and container cgroups can be identified,
Fixes #6500
PiperOrigin-RevId: 402392291
Diffstat (limited to 'pkg/sentry/kernel/futex/futex.go')
0 files changed, 0 insertions, 0 deletions