I’m currently troubleshooting an issue with my Kubernetes clusters where pods keep getting evicted, and this is happening across namespaces as well.
The issue now that I am faced with, is being able to keep ontop of the issues. When I run:
kubectl get pods -A | grep Evicted
I’m presented with 100’s of returned results.
So to quickly clean this up, I can run the following command: Continue reading Quick Tip – Kubernetes – Delete all evicted pods across all namespaces