k8s主节点部署helm(版本:v2.16.7),初始化报错,详细信息如下:

Adding stable repo with URL: https://kubernetes-charts.storage.googleapis.com 
Error: error initializing: 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

原因: https://kubernetes-charts.storage.googleapis.com/index.yaml 已经弃用,新的仓库是 https://charts.helm.sh/stable

解决方法如下:

helm init --stable-repo-url=https://charts.helm.sh/stable --client-only
Logo

开源、云原生的融合云平台

更多推荐