Last active
May 31, 2021 13:19
-
-
Save diablo02000/be198b5ba705b405e18f855d480c0df6 to your computer and use it in GitHub Desktop.
Useful kubectl command
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Remove evicted pods on Kubernetes namespace. | |
~$ kubectl get pods -n kube-system| grep Evicted | awk '{print $1}' | xargs kubectl delete pod |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment