~/talk

Debugging python applications inside k8s environment

Talkat PyCon Italia 2024 · 2024-05-22..05-25· [python, kubernetes]
slides:none on file

Shows concrete ways to attach a debugger to Python running in Kubernetes: run debugpy inside the container and expose a port, use kubectl port-forward and connect VS Code to localhost, or use a pdb clone that supports remote set_trace; create an ephemeral debug container or copy the pod with shared PID/namespace to exec into images that lack a shell; add a Git SHA to images for exact matching. Examples and a public debug-container image work end to end.

AI-written summary · about

  1. 0:00Introduction to debugging
  2. 2:07Methods of debugging
  3. 5:29Debuggers and protocols
  4. 10:00Remote debugging in containers
  5. 16:17Kubernetes debugging tactics
  6. 18:38Advanced K8s troubleshooting
  7. 23:46Best practices and automation
  8. 26:29Live demonstrations
  9. 31:47Q&A and closing
~/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.