Debugging kubernetes containers
The scenario: you have a running kubernetes cluster, but suddenly some of your containers start to have problems. Obviously now there must be a way to find out what exactly is causing these problems. In this post I’ll highlight two ways to debug a container running on kubernetes: ephemeral-containers (which is likely what you should use most of the time) nsenter (which is a last resort debugging option that requires access to the node the Pod is running on) Want to follow along?...