{
  "id": "kubernetes/helm-install-tiller-not-found",
  "signature": "Error: could not find tiller: the server could not find the requested resource",
  "signature_zh": "错误：找不到 tiller：服务器找不到请求的资源",
  "regex": "Error: could not find tiller: the server could not find the requested resource",
  "domain": "kubernetes",
  "category": "install_error",
  "subcategory": null,
  "root_cause": "Helm v2 client is trying to connect to Tiller server which is not installed in the cluster.",
  "root_cause_type": "generic",
  "root_cause_zh": "Helm v2 客户端尝试连接到集群中未安装的 Tiller 服务器。",
  "versions": [
    {
      "version": "Helm v2.16",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "Helm v2.17",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "Kubernetes v1.16",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "Reinstall Helm client via brew/apt without upgrading",
      "why_fails": "Client version doesn't matter; Tiller must be deployed separately.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    },
    {
      "action": "Set HELM_HOST environment variable to a random IP",
      "why_fails": "Tiller must be a running pod in the cluster, not an arbitrary IP.",
      "fail_rate": 0.95,
      "condition": "",
      "sources": []
    },
    {
      "action": "Use `helm init --client-only` to install client only",
      "why_fails": "Client-only mode does not deploy Tiller; you still need Tiller running.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "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`.",
      "success_rate": 0.9,
      "how": "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`.",
      "condition": "",
      "sources": []
    },
    {
      "action": "Upgrade to Helm v3 which removes Tiller dependency: `brew upgrade helm` or download latest binary, then migrate releases: `helm 2to3 convert <release>`.",
      "success_rate": 0.95,
      "how": "Upgrade to Helm v3 which removes Tiller dependency: `brew upgrade helm` or download latest binary, then migrate releases: `helm 2to3 convert <release>`.",
      "condition": "",
      "sources": []
    },
    {
      "action": "If using Helm v2, check Tiller pod: `kubectl get pods -n kube-system | grep tiller`. If missing, deploy with `helm init`.",
      "success_rate": 0.85,
      "how": "If using Helm v2, check Tiller pod: `kubectl get pods -n kube-system | grep tiller`. If missing, deploy with `helm init`.",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "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`."
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://helm.sh/docs/topics/tiller/",
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.85,
  "fix_success_rate": 0.9,
  "resolvable": "true",
  "first_seen": "2023-06-01",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}