Created
November 20, 2018 21:54
-
-
Save patrickleet/1785eadfdf31c513541805948a25fc3b to your computer and use it in GitHub Desktop.
delete all error pods
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
kubectl get pods --all-namespaces | grep Error | awk '{print $2}' | xargs kubectl delete pod -n jx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment