Skip to content
This repository has been archived by the owner on Apr 20, 2021. It is now read-only.

Install bpf program for every pod cgroup #6

Open
robertgzr opened this issue Jul 25, 2017 · 0 comments
Open

Install bpf program for every pod cgroup #6

robertgzr opened this issue Jul 25, 2017 · 0 comments

Comments

@robertgzr
Copy link
Contributor

ref: https://github.com/kubernetes/community/blob/master/contributors/design-proposals/pod-resource-management.md

  • kubepods is top-level cgroup (cgroup-root config?)
  • QoS class cgroups:
    • besteffort
    • burstable
    • guaranteed
  • pod cgroup: pod<uid>
  • bpf module/map per pod
@robertgzr robertgzr added this to the 0.1.0 milestone Jul 25, 2017
robertgzr added a commit that referenced this issue Aug 2, 2017
This introduces a bpf controller that runs the lookup loop for
every cgroup we attach a program to, reads the map and executes
handlers that write the tracked data to Prometheus metrics.

The top subcommand uses the same code but implements different handlers.

Closes #4, closes #5, closes #6, closes #9
robertgzr added a commit to robertgzr/cgnet that referenced this issue Nov 6, 2017
This introduces a bpf controller that runs the lookup loop for
every cgroup we attach a program to, reads the map and executes
handlers that write the tracked data to Prometheus metrics.

The top subcommand uses the same code but implements different handlers.

Closes kinvolk-archives#4, closes kinvolk-archives#5, closes kinvolk-archives#6, closes kinvolk-archives#9
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant