Debugging running pods
exec, port-forward, and ephemeral debug containers.
In plain terms
kubectl debug sends a fully-equipped inspector to stand next to a sealed, tool-less machine. You get to poke around and diagnose it without cracking the machine open or rebuilding it.