Skip to content

Instantly share code, notes, and snippets.

@KrustyHack
Created January 21, 2022 15:37
Show Gist options
  • Select an option

  • Save KrustyHack/e97cba32b308c92ad72a9e87b4ace522 to your computer and use it in GitHub Desktop.

Select an option

Save KrustyHack/e97cba32b308c92ad72a9e87b4ace522 to your computer and use it in GitHub Desktop.

Revisions

  1. KrustyHack created this gist Jan 21, 2022.
    1 change: 1 addition & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    kubectl get po --all-namespaces --field-selector 'status.phase==Failed' -o json | kubectl delete -f -