gvisor/runsc/cmd
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 Add runsc symbolize command. 2020-12-11 15:43:22 -08:00
boot.go Add --traceback flag to customize GOTRACEBACK level 2020-10-23 08:46:57 +00:00
capability.go
capability_test.go Move boot.Config to its own package 2020-08-19 18:37:42 -07:00
checkpoint.go Add sandbox ID to state file name 2020-12-17 10:52:44 -08:00
chroot.go Improve error message when pivot_root fails 2020-03-19 20:18:03 -07:00
cmd.go
create.go Let flags be overriden from OCI annotations 2020-09-01 11:12:19 -07:00
debug.go Add benchmarks targets to BuildKite. 2021-01-05 13:21:54 -08:00
delete.go Add sandbox ID to state file name 2020-12-17 10:52:44 -08:00
delete_test.go Move boot.Config to its own package 2020-08-19 18:37:42 -07:00
do.go Surface usage message for `runsc do`. 2020-12-03 11:47:30 -08:00
error.go
events.go Stub out basic `runsc events --stat` CPU functionality 2021-02-02 12:47:23 -08:00
exec.go OCI spec may contain duplicate environment variables 2021-01-11 16:25:50 -08:00
exec_test.go Prevent CAP_NET_RAW from appearing in exec 2019-10-01 11:49:49 -07:00
gofer.go Remove option to panic gofer 2020-09-17 12:01:45 -07:00
gofer_test.go Switch uses of os.Getenv that check for empty string to os.LookupEnv. 2021-01-13 15:15:20 -08:00
help.go Minor formatting updates for gvisor.dev. 2020-05-15 20:05:18 -07:00
install.go Add flag package to limit visibility. 2020-02-10 13:57:01 -08:00
kill.go Add sandbox ID to state file name 2020-12-17 10:52:44 -08:00
list.go Add sandbox ID to state file name 2020-12-17 10:52:44 -08:00
path.go
pause.go Add sandbox ID to state file name 2020-12-17 10:52:44 -08:00
ps.go Add sandbox ID to state file name 2020-12-17 10:52:44 -08:00
restore.go Let flags be overriden from OCI annotations 2020-09-01 11:12:19 -07:00
resume.go Add sandbox ID to state file name 2020-12-17 10:52:44 -08:00
run.go Let flags be overriden from OCI annotations 2020-09-01 11:12:19 -07:00
spec.go Add args and netns flag to runsc spec 2020-07-09 15:26:52 -07:00
start.go Add sandbox ID to state file name 2020-12-17 10:52:44 -08:00
state.go Add sandbox ID to state file name 2020-12-17 10:52:44 -08:00
statefile.go Support for saving pointers to fields in the state package. 2020-06-23 23:34:06 -07:00
symbolize.go Add runsc symbolize command. 2020-12-11 15:43:22 -08:00
syscalls.go Fix simple mistakes identified by goreportcard. 2021-01-12 12:38:22 -08:00
wait.go Add sandbox ID to state file name 2020-12-17 10:52:44 -08:00