注意:helm3不需要再安装tiller
脚本安装helm
# 下载helm安装程序脚本
[root@graph1 ~]# curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3
# 赋予脚本可执行权限
[root@graph1 ~]# chmod 700 get_helm.sh
# 执行脚本
[root@graph1 ~]# ./get_helm.sh
Downloading https://get.helm.sh/helm-v3.2.4-linux-amd64.tar.gz
Preparing to install helm into /usr/local/bin
helm installed into /usr/local/bin/helm
# 查看helm版本
[root@graph1 ~]# helm version
version.BuildInfo{Version:"v3.2.4", GitCommit:"0ad800ef43d3b826f31a5ad8dfbb4fe05d143688", GitTreeState:"clean", GoVersion:"go1.13.12"}
通过二进制文件安装
下载所需版本:https://github.com/helm/helm/releases
tar -zxvf helm-v3.0.0-linux-amd64.tar.gz
mv linux-amd64/helm /usr/local/bin