Debugging python applications inside k8s environment
summary
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
chapters (9)
- 0:00Introduction to debugging
- 2:07Methods of debugging
- 5:29Debuggers and protocols
- 10:00Remote debugging in containers
- 16:17Kubernetes debugging tactics
- 18:38Advanced K8s troubleshooting
- 23:46Best practices and automation
- 26:29Live demonstrations
- 31:47Q&A and closing
related talks
34mDebugging python applications inside k8s environment
25mLive process manipulation with Python 3.14's zero overhead debugging interface
34mDebugging at Scale in Production - Deep into Your Containers with Kubectl Debug
35mThe Art of Debugging Inside K8s Environment
40mDebugging in Golang Apps Inside K8s Environment
24mDebugging at Scale in Production - Deep into your Containers
26mHow to Debug the Pod Which is Hard to Debug
36mEphemeral Containers in Action - Running a Go Debugger in Kubernetes - Marvin Beckers
