Skip to content

Instantly share code, notes, and snippets.

@chijikpijik
Created October 8, 2020 14:15
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 chijikpijik/36fdeec7690de857a6c898673c013bf2 to your computer and use it in GitHub Desktop.
Save chijikpijik/36fdeec7690de857a6c898673c013bf2 to your computer and use it in GitHub Desktop.
delete pods by name pattern
qubectl get pods --no-headers=true | awk '/openstf/{print $1}' | xargs qubectl delete pod -- delete pods by pattern
@chijikpijik
Copy link
Author

qubectl get deployment -n android --no-headers=true | awk '/openstf/{print $1}' | xargs qubectl delete deployment -n android

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment