kubernetes
install_error
ai_generated
true
错误:找不到 tiller:服务器找不到请求的资源
Error: could not find tiller: the server could not find the requested resource
ID: kubernetes/helm-install-tiller-not-found
90%修复率
85%置信度
1证据数
2023-06-01首次发现
版本兼容性
| 版本 | 状态 | 引入 | 弃用 | 备注 |
|---|---|---|---|---|
| Helm v2.16 | active | — | — | — |
| Helm v2.17 | active | — | — | — |
| Kubernetes v1.16 | active | — | — | — |
根因分析
Helm v2 客户端尝试连接到集群中未安装的 Tiller 服务器。
English
Helm v2 client is trying to connect to Tiller server which is not installed in the cluster.
官方文档
https://helm.sh/docs/topics/tiller/解决方案
-
Install Tiller in cluster: `kubectl create serviceaccount --namespace kube-system tiller && kubectl create clusterrolebinding tiller --clusterrole=cluster-admin --serviceaccount=kube-system:tiller && helm init --service-account tiller`.
-
Upgrade to Helm v3 which removes Tiller dependency: `brew upgrade helm` or download latest binary, then migrate releases: `helm 2to3 convert <release>`.
-
If using Helm v2, check Tiller pod: `kubectl get pods -n kube-system | grep tiller`. If missing, deploy with `helm init`.
无效尝试
常见但无效的做法:
-
Reinstall Helm client via brew/apt without upgrading
90% 失败
Client version doesn't matter; Tiller must be deployed separately.
-
Set HELM_HOST environment variable to a random IP
95% 失败
Tiller must be a running pod in the cluster, not an arbitrary IP.
-
Use `helm init --client-only` to install client only
90% 失败
Client-only mode does not deploy Tiller; you still need Tiller running.