Skip to content

Instantly share code, notes, and snippets.

@diablo02000
Last active May 31, 2021 13:19
Show Gist options
  • Save diablo02000/be198b5ba705b405e18f855d480c0df6 to your computer and use it in GitHub Desktop.
Save diablo02000/be198b5ba705b405e18f855d480c0df6 to your computer and use it in GitHub Desktop.
Useful kubectl command
# 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