how to delete tiller from kubernetes cluster

前端 未结 6 2066

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:

6条回答
  •  无人及你
    2021-02-03 17:56

    You have to uninstall 3 things to completely get rid of tiller:

    1. Deployment
    2. Service
    3. Secret
        kubectl delete deployment -n some-namespace tiller-deploy 
        kubectl delete svc -n some-namespace tiller-deploy 
        kubectl delete secret -n some-namespace tiller-secret
    

    Be sure to backup the secret as it store all the certificates if TLS is enabled.

提交回复
热议问题