安装helm过程中报错,刚开始执行语句为:

helm install --namespace openebs --name openebs stable/openebs --version 1.5.0

这个语句报错信息:

Error: failed to download "stable/openebs" (hint: running `helm repo update` may help)

执行语句

[root@k8s-node1 /]# helm repo list
NAME    URL                          
local   http://127.0.0.1:8879/charts 
stable  https://charts.helm.sh/stable

helm repo list
helm repo remove stable
// 镜像地址被弃用,执行后出现如下报错
helm repo add stable https://kubernetes-charts.storage.googleapis.com

报错信息

Error: Looks like "https://kubernetes-charts.storage.googleapis.com" is not a valid chart repository or cannot be reached: Failed to fetch https://kubernetes-charts.storage.googleapis.com/index.yaml : 403 Forbidden

在执行

//查看
helm repo list
// 设置新的镜像地址 
helm repo add stable https://charts.helm.sh/stable
// 更新镜像地址
helm repo update
helm search
Logo

K8S/Kubernetes社区为您提供最前沿的新闻资讯和知识内容

更多推荐