~/talk

What is cgroups v2? and how it affects our application

slides:none on file

Kubernetes 1.25 clusters on Ubuntu 2022 default to cgroups v2, which changes cgroup paths and breaks older runtimes’ resource accounting; one customer’s memory bill doubles as a cluster grows from 17 to 35 nodes. Older Java runtimes consume far more memory (examples show a service dropping from ~418 MB to ~44 MB after moving to JDK 17). Short-term mitigations include setting cgroup_unified=0 and rebooting or deploying a DaemonSet to adjust node config, but the reliable fix is upgrading runtimes.

AI-written summary · about

  1. 0:00Introduction to cgroups
  2. 1:27Resource allocation in Kubernetes
  3. 6:46Why resource management matters
  4. 8:54cgroups v2 significance
  5. 13:13History of cgroups v1 vs v2
  6. 15:21cgroups v1 vs v2 differences
  7. 17:28Java app compatibility with v2
  8. 20:37Mitigating issues without source code upgrades
  9. 23:07Debugging memory spikes
  10. 26:17Recommendations for future-proofing
  11. 28:04Reverting to cgroups v1
  12. 29:54App compatibility responsibility
  13. 30:20Q&A: OOM killer
~/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.