Christian Lehnert — Linux, Hacking & Faith

tag: #debugging

2 posts
1 month ago kubectl debug

Distroless images ship no shell, so kubectl exec fails the moment you need it. kubectl debug injects an ephemeral container with its own tools into the running pod, shares the target's namespaces, and lets you read the app's filesystem through /proc — no restart, no debug build. Here it is end to end on a distroless nginx.

#kubernetes #debugging #kubectl