Skip to content

Instantly share code, notes, and snippets.

@atulsingh0
Last active December 7, 2021 19:49
Show Gist options
  • Save atulsingh0/61e4d68168e24348bdad60637f034d47 to your computer and use it in GitHub Desktop.
Save atulsingh0/61e4d68168e24348bdad60637f034d47 to your computer and use it in GitHub Desktop.
Deleting All Kubernetes POD in one line
kubectl get pods --no-headers -o "name" | xargs kubectl delete pod
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment