I am trying to install the helm in the kubernetes, I have installed the helm successfully.
When I check the helm version it is showing the below error
`helm version
Client: $version .version{SemVer:V2XXX",Git commit:"XXXXXXXXXXXXXXXXX",GitTreeState: "clean"}
Error:could not find the tiller`
When I executed the Init command it is showing Tiller is already installed in the cluster
helm init --history-max 200 --service-account tiller
$HELM_HOME has been configured at home/user/.helm
warning: Tiller is already installed in the cluster
When I check the logs for the pod I am able to see below error
`Type Reason Age From Message
Waring: FailedCreate 11m (x25 over 132m) replicaset-controller error creating: pod "tiller-deploy-xxxxx" is forbidden: errorlooking up service account :tiller not found"`
How to resolve this issue any idea?
2
Answers
Are you sure tiller service account is created?
Try create the service account and giv it the required permissions
After that initialize Helm again and see if the error goes away
I tried to reproduce the same issue in my environment and got the below results
When I do the init command it is showing the same error like its already exist
I have created the service account using below script, this script i have taken from the SO link and made the changes as per requirements
I have deployed this service account using below command
Deleted the replica set and recreated new replica sets again
After deleting the replica set it automatically recreates the new one
When I check the helm version I am able to see as shown below