Created
September 13, 2021 08:25
-
-
Save Erikdegroot89/0a89827a844c515caf59e175985b0c9a to your computer and use it in GitHub Desktop.
cleanup terminated pods
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
kubectl get pods | grep Terminated | 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