官方文档: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 ,安装成功。

修改为阿里云仓库地址
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"}}}}'
1989

被折叠的 条评论
为什么被折叠?



