Troubleshooting on kubernetes using netshoot

One of most common issues we might have while troubleshooting an issue on a kubernetes cluster is to actually not having the right tool for the job. Containers usually have the bare minimum set of tools (actually, this is how it's supposed to be) and libraries required to do it's job: So they are not designed for troubleshooting

netshoot on the other hand, is designed for troubleshooting. It can also be used for troubleshooting docker servers as well.

We can get a full list of installed tools by taking a look at it's Dockerfile (it is no short list!)

To use it we can either build it by ourselves using this Dockerfile or just use the image that is published on docker hub: nicolaka/netshoot


Posted on 02/02/2021