在AWS EKS上掌舵

Dan*_*ina 2 amazon-web-services kubernetes kubernetes-helm amazon-eks

让我的群集在AWS EKS上启动并运行,我发现运行helm init时出现以下错误:

$ 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"
Run Code Online (Sandbox Code Playgroud)

kubectl通过heptio-authenticator-aws在连接时运行(使用execkubectl配置中的一个部分)正常工作(对象检索,创建和集群管理),正确验证和授权.

为了为helm准备集群,我创建了helm docs中指定的服务帐户和角色绑定.

我听说有人在EKS上运行掌舵,我猜他们正在exec通过硬编码令牌跳过kubectl配置部分......我想避免这样做!

有想法该怎么解决这个吗?我的猜测是,它与掌舵无法heptio-authenticator-aws正确执行有关

Dan*_*ina 7

我在运行helm2.8.2版本时遇到此错误,升级到v2.9.1修复此问题!