Krew is K8s Game Changer!
The kubectl plugins that changed how I work with Kubernetes.

Kubernetes can be quite complex, but it doesn't have to slow you down. Here's how I simplified my K8s management with some awesome Krew plugins.
Discovering Krew Plugins
When I first started using Kubernetes, I found it overwhelming to manage all the resources efficiently. That's when I stumbled upon Krew, a package manager for kubectl plugins, which transformed my workflow. Here are the plugins that made a huge difference for me:
- foreach This plugin is a game-changer. Imagine being able to execute commands across multiple resources with just one line. It's perfect for bulk operations, saving me a ton of time when managing multiple pods or services.
- get-all Getting a comprehensive view of all resources in a namespace used to be a hassle. Not like using kubectl get all With get-all, I can actually retrieve every resource type in one go.
- ktop Monitoring cluster resources is crucial, and ktop makes it so much easier. It's like having a real-time dashboard for your cluster's health and performance. I check it regularly to ensure everything is running smoothly.
- netshoot This one really changed my life. it allows me to easily debug any networking issues, attaching debug container to any pod with ease.
- node-shell Sometimes, you just need direct access to the nodes. Node-shell allows me to get a shell on any node in the cluster. It's invaluable for troubleshooting and performing maintenance tasks directly on the node. and doesn't require ssh,ssm,ec2-connect or any of those. it is a very privileged container and might cause your security team to call you to ask WTF?
- stern Debugging applications can be tedious, especially when you need to tail logs from multiple pods. Stern makes this process seamless by streaming logs from all relevant pods in real-time. It's a lifesaver when tracking down issues across pods.
References
- Original First published on LinkedIn
Comments