deploy-helm-v2.15.0-rc.1
wget https://get.helm.sh/helm-v2.15.0-rc.1-linux-amd64.tar.gz
tar zxvf helm-v2.15.0-rc.1-linux-amd64.tar.gz
cd linux-amd64
/bin/cp -arf helm tiller /usr/local/bin/
helm init
注意拉取镜像gcr.io/kubernetes-helm/tiller:v2.15.0-rc.1
[root@k8s01 linux-amd64]# helm version
Client: &version.Version{SemVer:"v2.15.0-rc.1", GitCommit:"288a9579b48681f3c5c1f96ab3c3407613b9f010", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.15.0-rc.1", GitCommit:"288a9579b48681f3c5c1f96ab3c3407613b9f010", GitTreeState:"clean"}
rbac
apiVersion: v1
kind: ServiceAccount
metadata:
name: tiller
namespace: kube-system
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: tiller
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
subjects:
- kind: ServiceAccount
name: tiller
namespace: kube-system
打补丁
kubectl patch deploy --namespace kube-system tiller-deploy -p '{"spec":{"template":{"spec":{"serviceAccount":"tiller"}}}}'
https://get.helm.sh/helm-v2.16.1-linux-amd64.tar.gz
2.16版本