~/talk

The Art of Debugging Inside K8s Environment

Talkat ContainerDays Conference 2024 · 2024-09-03..09-04· [kubernetes]
slides:none on file

Shows concrete fixes for CrashLoop pods that lack a shell: use ephemeral containers and kubectl debug to attach a full-tool image, inspect a single binary, and run Delve or pdb against the live process. Demonstrates replacing init commands with sleep to inspect init containers, using a custom debug image (myname/thebug image) with tcpdump and delve, and warns to scale to one replica (he cites 15 replicas causing detachment). Telepresence and K9s workflows are proven workable in demos.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 1:51Debugging in cloud-native environments
  3. 3:38Common debugging techniques
  4. 6:54Debugging on dev machine
  5. 7:59Defining Kubernetes debugging problems
  6. 9:50Debugging init containers
  7. 11:16Crash looping pod example
  8. 14:37Custom debug containers
  9. 16:46Ephemeral containers overview
  10. 17:30Demo: Debugging a crash looping pod
  11. 23:00Pre-built debug containers
  12. 24:25Adding build info to images
  13. 25:49Debugging distributed systems
  14. 27:20VS Code debugger setup
  15. 28:47Telepresence for local debugging
  16. 29:08K9s plugins for debugging
  17. 29:53Summary and key takeaways
  18. 30:57Q&A session
~/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.