~/talk

Debugging at Scale in Production with kubectl debug

Talkat Conf42 Cloud Native 2023 · on Thursday, 2023-03-30· [observability]
slides:none on file

Claim: use kubectl debug and ephemeral containers to inspect crashed pods without altering originals, and combine port-forward JDWP to localhost for secure remote breakpoints. Demonstrations show IDE integration (IntelliJ) with developer-observability features: nonblocking snapshots that don't stop threads, conditional logs and metrics, tagging thousands of processes, and replayable captures. Cautions include jdwp security risks, breakpoints freezing production, observability cost (logs ~30% cloud spend) and human-caused breaches (~60%), and that tooling must enforce read-only safety and rate limits.

AI-written summary · about

  1. 0:00Debugging at scale intro
  2. 2:18Debugging is everyone's problem
  3. 3:44kubectl exec challenges
  4. 5:30kubectl debug and ephemeral containers
  5. 7:20Security risks of remote debugging
  6. 9:25Remote debugging with port forwarding
  7. 11:40JDWP impractical for production
  8. 13:56Kubernetes debugging complexity
  9. 15:00Observability as debugging
  10. 16:45Developer observability integration
  11. 17:50Demo: IntelliJ IDEA observability tools
  12. 21:19Snapshots and conditional breakpoints
  13. 23:50User-specific debugging with snapshots
  14. 24:54Closing remarks and Q&A
~/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.