舵手 V3-无法找到正式回购

我一直试图安装 nginx 入口使用舵版本3

helm install my-ingress stable/nginx-ingress

但赫尔姆似乎无法找到 stable的官方回购协议,它传递出这样的信息:

错误: 未能下载“ Stability/nginx-ingress”(提示: running < code > helm 回购更新 可能有帮助)


我试过 helm repo update但没用。

我尝试列出回购 helm repo list,但它是空的。


我试图加上稳定的回购:

helm repo add stable https://github.com/helm/charts/tree/master/stable

但它失败的原因是:

错误: 看起来像“ https://github.com/helm/charts/tree/master/stable” 不是有效的图表存储库或无法访问: 未能获取 Https://github.com/helm/charts/tree/master/stable/index.yaml : 404非 找到了

46945 次浏览

The stable repository is hosted on https://kubernetes-charts.storage.googleapis.com/. So, try the following:

helm repo add stable https://kubernetes-charts.storage.googleapis.com/

EDIT 2020-11-16: the above repository seems to have been deprecated. The following should now work instead:

helm repo add stable https://charts.helm.sh/stable

Be aware that Helm v3 does not have the use of Tiller.

1. Install Helm v3:

curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 > get_helm.sh
chmod 700 get_helm.sh
./get_helm.sh

2. Install Ingress-Nginx:

helm repo add stable https://kubernetes-charts.storage.googleapis.com/
helm install my-nginx stable/nginx-ingress --set rbac.create=true

The stable repositories are in helm hub https://hub.helm.sh/charts

Install the nginx chart for nginx ingress

helm install bitnami/nginx --version 6.2.0

Below solution worked for me.

# Below command is not working
$ helm repo add stable https://kubernetes-charts.storage.googleapis.com/


Error: repo "https://kubernetes-charts.storage.googleapis.com/" is no longer available; try "https://charts.helm.sh/stable" instead


#Try this one, it's wokring.
$ helm repo add stable https://charts.helm.sh/stable


"stable" has been added to your repositories


From Helm Blog -

On November 13, 2020 the stable and incubator charts repository will reach the end of development and become archives. You can find that many of the charts have moved to other, community managed, repositories. You can discover these on the Artifact Hub.

The best way to discover a chart by searching the Artifact Hub. And if you select nginx-ingress from ORG Helm, you can see the instruction for adding a repo.

helm repo add nginx-stable https://helm.nginx.com/stable

Artifact Hub

I solved that problem by putting in this line:

helm repo add stable https://charts.jetstack.io