安装
如果使用wget下载非常慢,请复制地址https://get.helm.sh/helm-v3.2.1-linux-amd64.tar.gz,使用迅雷进行下载,秒下载,然后上传到服务器
wget https://get.helm.sh/helm-v3.2.1-linux-amd64.tar.gz
tar -zxvf helm-v3.2.1-linux-amd64.tar.gz
# 将helm拷贝到系统path路径下,以下为/usr/local/bin/helm。
mv linux-amd64/helm /usr/bin
# 查看helm版本
[root@k8s-master01 helm]# helm version
version.BuildInfo{Version:"v3.2.1", GitCommit:"fe51cd1e31e6a202cba7dead9552a6d418ded79a", GitTreeState:"clean", GoVersion:"go1.13.10"}
添加仓库
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 repo remove aliyum