gvisor/runsc/sandbox
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 Move boot.Config to its own package 2020-08-19 18:37:42 -07:00
network.go Disable host reassembly for fragments. 2020-12-10 20:08:59 -08:00
network_unsafe.go Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
sandbox.go Stub out basic `runsc events --stat` CPU functionality 2021-02-02 12:47:23 -08:00