Skip to content

Instantly share code, notes, and snippets.

@lbbedendo
Created October 24, 2021 20:57
Show Gist options
  • Save lbbedendo/51f820a7b2aec4d1e07ed4e18e99ac78 to your computer and use it in GitHub Desktop.
Save lbbedendo/51f820a7b2aec4d1e07ed4e18e99ac78 to your computer and use it in GitHub Desktop.
Removendo pods com erro
kubectl get pods --all-namespaces | grep Error | awk '{print $2, "--namespace", $1}' | xargs kubectl delete pod
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment