Helm on AWS EKS

7/3/2018

Having my cluster up and running on AWS EKS, I'm finding trouble running helm init with the following error:

$ helm init --service-account tiller --upgrade
Error: error installing: deployments.extensions is forbidden: User "system:anonymous" cannot create deployments.extensions in the namespace "kube-system"

kubectl works properly (object retrieval, creation and cluster administration), authenticating and authorizing correctly by running heptio-authenticator-aws at connection time ( with an exec section in the kubectl config).

In order to prepare the cluster for helm, I created the service account and role binding as specified in the helm docs.

I've heard of people having helm running on EKS, and I'm guessing they're skipping the exec section of the kubectl config by hardcoding the token... I'd like to avoid that!

Any ideas on how to fix this? My guess is that it is related to helm not being able to execute heptio-authenticator-aws properly

-- Dani Medina
amazon-eks
amazon-web-services
kubernetes
kubernetes-helm

1 Answer

7/3/2018

I was running helm version 2.8.2 when obtaining this error, upgrading to v2.9.1 fixed this!

-- Dani Medina
Source: StackOverflow