gvisor/runsc/cgroup
Kevin Krakauer 5f7bf31526 Stub out basic `runsc events --stat` CPU functionality
Because we lack gVisor-internal cgroups, we take the CPU usage of the entire pod
and divide it proportionally according to sentry-internal usage stats.

This fixes `kubectl top pods`, which gets a pod's CPU usage by summing the usage
of its containers.

Addresses #172.

PiperOrigin-RevId: 355229833
2021-02-02 12:47:23 -08:00
..
BUILD Merge pull request #2672 from amscanne:shim-integrated 2020-07-13 16:10:58 -07:00
cgroup.go Stub out basic `runsc events --stat` CPU functionality 2021-02-02 12:47:23 -08:00
cgroup_test.go Clean cgroupt mountinfo and add more test cases 2021-01-27 12:02:27 +00:00