Helm V3 - 找不到官方仓库 [英] Helm V3 - Cannot find the official repo

查看:41
本文介绍了Helm V3 - 找不到官方仓库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试使用 helm 版本 3 安装 nginx ingress

I have been trying to install nginx ingress using helm version 3

helm install my-ingress stable/nginx-ingress

但是 Helm 似乎无法找到它的官方 stable 存储库.它给出了消息:

But Helm doesn't seem to be able to find it's official stable repo. It gives the message:

错误:无法下载stable/nginx-ingress"(提示:运行 helm回购更新可能有帮助)

Error: failed to download "stable/nginx-ingress" (hint: running helm repo update may help)

<小时>

我尝试了 helm repo update.但这无济于事.

我尝试列出 repos helm repo list 但它是空的.

I tried listing the repos helm repo list but it is empty.

我尝试添加稳定的存储库:

I tried to add the stable repo:

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

但它失败了:

错误:看起来像https://github.com/helm/charts/tree/主/稳定"不是有效的图表存储库或无法访问:无法获取https://github.com/helm/charts/tree/master/stable/index.yaml : 404 不是找到

Error: looks like "https://github.com/helm/charts/tree/master/stable" is not a valid chart repository or cannot be reached: failed to fetch https://github.com/helm/charts/tree/master/stable/index.yaml : 404 Not Found

推荐答案

stable 存储库托管在 https://kubernetes-charts.storage.googleapis.com/.因此,请尝试以下操作:

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: 上面的存储库似乎是 已弃用.现在应该可以使用以下内容:

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

这篇关于Helm V3 - 找不到官方仓库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆