DEV Community

Maxime Guilbert
Maxime Guilbert

Posted on • Edited on

Kubernetes - Delete multiple resources

If you want to delete all your elements of a kind, you can easily do it with the next command:

Exemple to delete all pod in the default namespace

kubectl delete pod --all=true

With the --all=true, you are able to delete all the elements which match the request.


I hope it will help you!

Top comments (1)

Some comments may only be visible to logged-in visitors. Sign in to view all comments.