Created
August 4, 2023 11:13
-
-
Save BioQwer/5011a90ef05806163e1677003feceb98 to your computer and use it in GitHub Desktop.
delete_pod failed
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 delete pods --field-selector status.phase=Failed --all-namespaces | |
kubectl delete pods --field-selector status.phase=Error --all-namespaces | |
#ALL | |
kubectl delete pods --field-selector status.phase!=Running --all-namespaces |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment