~/talk

Profiling a Pod in Kubernetes with kube-flame

TalkinFrenchat Devoxx France 2022 · 2022-04-20..04-22· [kubernetes, observability]
slides:none on file

kube-flame is a kubectl plugin (installed via krew) that automates profiling containers in a Kubernetes pod by copying language-specific profilers (async-profiler for Java, native Go profilers for Go), launching a job that runs a timed sampling session, and returning a FlameGraph SVG. It fetches the appropriate profiler into the pod, profiles for the requested duration across heterogeneous apps, and was tested on a Java application and a Go service (noting CPU profiling required enabling perf_events while allocations and SVG output worked).

AI-written summary · about

  1. 0:00kube-flame intro
  2. 1:06Flame graphs use
  3. 3:12Java profiling in prod
  4. 5:44Installing kube-flame
  5. 7:35Automated profiling
  6. 9:21CPU vs memory
  7. 11:48Multi-language apps
  8. 13:18Demo and conclusion
~/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.