containerd/pkg/cri/store/sandbox
David Porter 2e6d5709e3 Implement CRI container and pods stats
See https://kep.k8s.io/2371

* Implement new CRI RPCs - `ListPodSandboxStats` and `PodSandboxStats`
  * `ListPodSandboxStats` and `PodSandboxStats` which return stats about
    pod sandbox. To obtain pod sandbox stats, underlying metrics are
    read from the pod sandbox cgroup parent.
  * Process info is obtained by calling into the underlying task
  * Network stats are taken by looking up network metrics based on the
    pod sandbox network namespace path
* Return more detailed stats for cpu and memory for existing container
  stats. These metrics use the underlying task's metrics to obtain
  stats.

Signed-off-by: David Porter <porterdavid@google.com>
2021-11-03 17:52:05 -07:00
..
metadata_test.go move up to CRI v1 and support v1alpha in parallel 2021-06-28 09:34:12 -05:00
metadata.go move up to CRI v1 and support v1alpha in parallel 2021-06-28 09:34:12 -05:00
sandbox_test.go Implement CRI container and pods stats 2021-11-03 17:52:05 -07:00
sandbox.go Implement CRI container and pods stats 2021-11-03 17:52:05 -07:00
status_test.go Move cri server packages under pkg/cri 2020-10-07 13:09:37 -07:00
status.go move up to CRI v1 and support v1alpha in parallel 2021-06-28 09:34:12 -05:00