gvisor/runsc/container
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 Support partitions for other tests. 2020-12-03 01:00:21 -08:00
console_test.go Enable container checkpoint/restore tests with VFS2 2021-02-01 19:29:29 -08:00
container.go Stub out basic `runsc events --stat` CPU functionality 2021-02-02 12:47:23 -08:00
container_norace_test.go Simplify Docker test infrastructure. 2020-04-23 11:33:30 -07:00
container_race_test.go Simplify Docker test infrastructure. 2020-04-23 11:33:30 -07:00
container_test.go Enable container checkpoint/restore tests with VFS2 2021-02-01 19:29:29 -08:00
hook.go Update canonical repository. 2019-06-13 16:50:15 -07:00
multi_container_test.go Stub out basic `runsc events --stat` CPU functionality 2021-02-02 12:47:23 -08:00
shared_volume_test.go Honor readonly flag for root mount 2020-09-08 14:00:43 -07:00
state_file.go Stub out basic `runsc events --stat` CPU functionality 2021-02-02 12:47:23 -08:00
status.go Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00