cgroup

178

Control groups, usually referred to as cgroups, is a Linux kernel feature that limits, accounts for, and isolates the resource usage (CPU, memory, disk I/O, network) for a collection of processes.

Stuff you wanna know:

  1. Cgroups are a Linux kernel feature which allow processes to be organized into hierarchical groups whose usage of various types of resources can then be limited and monitored.
  2. A cgroup is, amongst other things, a hierarchical grouping of processes. In Kubernetes, this grouping is found at the container level.
  3. One idea for making use of cgroup-bpf, is to install BPF programs that collect detailed per-pod and/or per-container network statistics.

More stuff: