3

Since Helm 3 is not using tiller anymore is it a valid way to delete a deployment by deleting its namespace?

Are there any unexpected side effects?

user2887278
  • 165
  • 2
  • 13

1 Answers1

7

Yes! By deleting the namespace you would delete all resources that lives inside it.

Helm 3 is not using Tiller anymore and stores deployment informations within Kubernetes Secrets. But Secrets as other Kubernetes objects will be deleted when its namespace got deleted.

The most common way for deleting Helm 3 resource would be to use uninstall command:

helm3 uninstall RELEASE_NAME

I would never suggest you to delete whole namespace. Side effect would be losing everything inside it.

Ivan Aracki
  • 4,861
  • 11
  • 59
  • 73