Debugging a container with a sidecar using Gefyra
summary
Gefyra creates a local Docker container that sits in the cluster network and Gefyra bridge intercepts the app container so an OAuth2‑Proxy sidecar (upstream to port 8155) and Keycloak run in k3d while a FastAPI backend runs locally. The demo shows attachable debugpy on port 5678, inspects the JWT, finds a capitalization bug and repairs it — fixed bug: Email -> email — and the fix reloads and removes the HTTP 500.
AI-written summary · about
chapters (9)
- 0:00Gefyra and project goals
- 3:11Kubernetes from day one
- 7:26Demo environment setup
- 12:26OAuth2 sidecar pattern demo
- 14:57Debugging with Gefyra
- 17:27VS Code debugger connection
- 20:41Local and Kubernetes traffic
- 23:09Bug inspection and fix
- 25:18Summary and next steps
related talks
27mProductionise any Application in Kubernetes Using Sidecar Containers
50mTroubleshooting & Debugging Microservices in Kubernetes
39mDebugging python applications inside k8s environment
34mDebugging at Scale in Production - Deep into Your Containers with Kubectl Debug
40mDebugging in Golang Apps Inside K8s Environment
35mThe Art of Debugging Inside K8s Environment
34mDebugging python applications inside k8s environment
36mEphemeral Containers in Action - Running a Go Debugger in Kubernetes - Marvin Beckers
