~/lightning

Lightning Talk: Who Are You? Solving the Container ID Resolution With Cgroupv2

Lightningat Observability Day 2025 · on Tuesday, 2025-04-01· at 17:00· Level 1 | Hall Entrance S10 | Room B· [observability]
links:none on file
slides:none on file

Problem: with cgroupv2 and private cgroup namespaces /proc shows just “/” so the old trick of reading /proc/self/cgroup no longer yields container IDs. Common workaround reading mountinfo is unreliable (returns volume IDs or differs by runtime). Two concrete solutions: inject Pod UID+container name via a mutating webhook (works in Kubernetes but races on container restart), or have the app read the cgroup inode and let an agent that mounts host cgroupfs map that inode back to the container ID. Datadog implements both and this mapping is running in production since early last year.

AI-written summary · about

  1. 0:00Container monitoring challenges
  2. 1:04Container identification in observability
  3. 2:09cgroup v1 vs v2 differences
  4. 3:34Container ID resolution requirements
  5. 4:36Limitations of cgroup.procs in v2
  6. 5:19Webhook solution drawbacks
  7. 6:23Universal container ID proxy
  8. 7:30cgroup v2 iode solution
  9. 8:56Implementation and fallback
  10. 10:01Production use and availability
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.