~/talk

Debugging in Golang Apps Inside K8s Environment

Talkat KCD Austria 2023 · 2023-09-26..09-27· [kubernetes, go]
slides:none on file

Shows a practical workflow for debugging Go binaries inside Kubernetes by baking Delve into images, toggling an entrypoint with an env var, and running dlv headless+port-forward to attach from a laptop. Covers multi‑stage images (keep DWARF info), substituting local source paths for correct mapping, and using kubectl debug shared PID or a K9s plugin to spawn a sidecar with networking and sources. Demos connect, set conditional breakpoints, restart the process, and generally work—watch for matching commit SHAs and reduced traffic during a session.

AI-written summary · about

  1. 0:00Debugging Go apps in Kubernetes
  2. 1:26Debugging hardest part
  3. 5:26Delve for container debugging
  4. 10:59Multi-stage Docker images
  5. 18:14Remote debugging binaries
  6. 23:59Debugging in Kubernetes
  7. 30:31Kubernetes debugging tips
  8. 33:47Resources
  9. 34:29Q&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.