DEV Community

Maxime Guilbert
Maxime Guilbert

Posted on • Edited on

2 1

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.

AWS GenAI LIVE image

How is generative AI increasing efficiency?

Join AWS GenAI LIVE! to find out how gen AI is reshaping productivity, streamlining processes, and driving innovation.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay