# Kubernetes Helm Server ## helm install ```sh tar -zxvf helm-v2.16.1-linux-amd64.tar.gz ``` ```sh mv linux-amd64/helm /usr/local/bin/ ``` ## tiller inital 创建名为tiller的ServiceAccount ```sh kubectl create serviceaccount --namespace kube-system tiller ``` 把tiller与角色tiller-cluster-rule进行绑定 ```sh kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller ``` helm初始化,其中tiller的镜像来自阿里云,并且将默认仓库也设置为阿里云的 ```sh helm init --upgrade -i registry.cn-hangzhou.aliyuncs.com/google_containers/tiller:v2.16.1 --stable-repo-url https://kubernetes.oss-cn-hangzhou.aliyuncs.com/charts --service-account tiller ``` 等待控制台提示成功后再次执行helm version ```sh helm version ```