Skip to content

Instantly share code, notes, and snippets.

@vertexvaar
Created September 1, 2022 09:40
Show Gist options
  • Save vertexvaar/919b542fb9c86fec9c4c2b71e8d7b8b0 to your computer and use it in GitHub Desktop.
Save vertexvaar/919b542fb9c86fec9c4c2b71e8d7b8b0 to your computer and use it in GitHub Desktop.
kubectl helper
# Delete all failed pods
kubectl delete pods -A --field-selector=status.phase=Failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment