Skip to content

Instantly share code, notes, and snippets.

@hadoan
Created November 28, 2022 16:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hadoan/549e3722438227a13eca08be5f31c813 to your computer and use it in GitHub Desktop.
Save hadoan/549e3722438227a13eca08be5f31c813 to your computer and use it in GitHub Desktop.
kubectl get pods --field-selector=status.phase=Failed
kubectl delete pods --field-selector=status.phase=Failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment