代码之家  ›  专栏  ›  技术社区  ›  Snowcrash

错误:找不到可用的版本名-相同的错误,不同的问题

  •  0
  • Snowcrash  · 技术社区  · 6 年前

    我做到了:

    brew install kubernetes-helm
    helm init
    helm install stable/mysql
    

    我得到:

    Error: no available release name found
    

    有什么建议吗?

    这没用顺便说一句- Helm: Error: no available release name found

    3 回复  |  直到 6 年前
        1
  •  1
  •   Vinod Kumar    6 年前

    如果尚未创建/启用rbac和命名空间。 如果在Chart.yaml中定义了版本,请运行此命令
    helm install--name“mysql”stable/mysql--mysql.1.3版

    如果已启用rbac和命名空间,请首先使用
    kubectl get namespaces--all namespaces=true
    如果创建了名称空间,则将列出此列表。 然后运行这个命令
    helm install-n namespace\u name--名称mysql stable/mysql--版本Mysql1.3

        2
  •  0
  •   Shudipta Sharma Prafull Ladha    6 年前

    跑步 $ helm repo update 安装命令之前。

        3
  •  0
  •   abinet    6 年前

    根据Kubernetes的版本/配置,您可能需要为舵柄配置rbac:

    $ kubectl create serviceaccount --namespace kube-system tiller $ kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller $ helm init --service-account tiller

    根据 https://github.com/helm/helm/issues/3055