官方文档:helm Docs
1.下载最新稳定版本,上传至服务器。
2.解压 tar -zxvf helm-v2.0.0-linux-amd64.tgz
3.添加至运行目录:mv linux-amd64/helm /usr/local/bin/helm
4.安装tiller:helm init
5.helm version ,安装成功。
![35d4a27f3b6f78182902f74afcf2b6b3.png](https://i-blog.csdnimg.cn/blog_migrate/8d2fe95d7177a20cd988eacbed540f8e.png)
修改为阿里云仓库地址
helm repo remove stable
helm repo add stable https://kubernetes.oss-cn-hangzhou.aliyuncs.com/charts
helm repo update
helm repo list
错误:Error: configmapsisforbidden: User"system:serviceaccount:kube-system:default"cannot list resource"configmaps"inAPIgroup""inthenamespace"kube-system"
kubectl create serviceaccount --namespace kube-system tiller
kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller
kubectl patch deploy --namespace kube-system tiller-deploy -p '{"spec":{"template":{"spec":{"serviceAccount":"tiller"}}}}'