how to delete tiller from kubernetes cluster

Bill picture Bill · Nov 30, 2017 · Viewed 39k times · Source

Tiller is not working properly in my kubernetes cluster. I want to delete everything Tiller. Tiller (2.5.1) has 1 Deployment, 1 ReplicaSet and 1 Pod.

I tried: kubectl delete deployment tiller-deploy -n kube-system

  • results in "deployment "tiller-deploy" deleted"
  • however, tiller-deploy is immediately recreated
  • kubectl get deployments -n kube-system shows tiller-deploy running again

I also tried: kubectl delete rs tiller-deploy-393110584 -n kube-system

  • results in "replicaset "tiller-deploy-2745651589" deleted"
  • however, tiller-deploy-2745651589 is immediately recreated
  • kubectl get rs -n kube-system shows tiller-deploy-2745651589 running again

What is the correct way to permanently delete Tiller?

Answer

nickgryg picture nickgryg · Nov 30, 2017

To uninstall tiller from a kubernetes cluster:

helm reset

To delete failed tiller from a kubernetes cluster:

helm reset --force