Installation and Upgrading
二进制版本安装
wget https://get.helm.sh/helm-v3.8.2-linux-amd64.tar.gz
tar -zxvf helm-v3.8.2-linux-amd64.tar.gz
mv linux-amd64/helm /usr/bin/ # 注意 mv /usr/local/bin/ 不生效
echo 'source <(helm completion bash)' >> /etc/profile
. /etc/profile
helm version
配置国内Chart仓库
- 微软仓库(http://mirror.azure.cn/kubernetes/charts/)
- 阿里云仓库(https://kubernetes.oss-cn-hangzhou.aliyuncs.com/charts)
- 官方仓库(https://hub.kubeapps.com/charts/incubator)
添加存储库
helm repo add stable http://mirror.azure.cn/kubernetes/charts
helm repo add aliyun https://kubernetes.oss-cn-hangzhou.aliyuncs.com/charts
helm repo update
查看存储库配置
helm repo list
helm search repo stable
删除存储库
helm repo remove aliyun