2637309949@qq.com e52396f149 feat: add helm 4 jaren geleden
..
README.md e52396f149 feat: add helm 4 jaren geleden
helm-v2.16.1-linux-amd64.tar.gz e52396f149 feat: add helm 4 jaren geleden

README.md

Kubernetes Helm Server

helm install

tar -zxvf helm-v2.16.1-linux-amd64.tar.gz
mv linux-amd64/helm /usr/local/bin/

tiller inital

创建名为tiller的ServiceAccount

kubectl create serviceaccount --namespace kube-system tiller

把tiller与角色tiller-cluster-rule进行绑定

kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller

helm初始化,其中tiller的镜像来自阿里云,并且将默认仓库也设置为阿里云的

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

helm version