Created
April 2, 2019 08:34
-
-
Save christiaan-janssen/03b3136d8ff8937c3fe0928789f16238 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# Delete running pod | |
kubectl get pods | grep Running | awk '{print $1}' | xargs kubectl delete pods | |
# Delete all evicted pods | |
kubectl get pods | grep Evicted | awk '{print $1}' | xargs kubectl delete pods |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment