1安装helm3
1.1 CentOS7
curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 > get_helm.sh
chmod 700 get_helm.sh
./get_helm.sh
ls /usr/local/bin/helm
1.2 MACOS
brew install helm
2 安装helm2.12
2.1 CentOS7
wget https://storage.googleapis.com/kubernetes-helm/helm-v2.12.1-linux-amd64.tar.gz
tar -zxvf helm-v2.12.1-linux-amd64.tar.gz
cd linux-amd64/
# 拷贝helm到 /usr/local/bin
cp helm /usr/local/bin
- 如果在同一个centos7上同时安装helm3和helm2.X
#那么在安装完helm3之后可以:
mv /usr/local/bin/helm /usr/local/bin/helm3
cd linux-amd64/
cp helm /usr/local/bin
- 可以看到执行helm3和helm都可以