helm更换源的文章很多,很多都写的是阿里云的源,但是阿里云的源根本就没有更新。azure的源亲测可用。
- stable: http://mirror.azure.cn/kubernetes/charts/
- incubator: http://mirror.azure.cn/kubernetes/charts-incubator/
添加命令如下:
helm repo remove stable
helm repo add stable http://mirror.azure.cn/kubernetes/charts/
helm repo add incubator http://mirror.azure.cn/kubernetes/charts-incubator/
helm repo update
测试repo
helm install --name=mysql --namespace=mysql stable/mysql