1

Helm安装文档

1.下载并安装helm安装包

sudo -i
wget https://storage.googleapis.com/kubernetes-helm/helm-v2.8.2-linux-amd64.tar.gz

tar -zxvf helm-v2.8.2-linux-amd64.tar.gz 
cd linux-amd64/
cp helm /usr/bin

2.下载helm-tiller镜像

下载镜像

docker pull registry.cn-hangzhou.aliyuncs.com/google_containers/tiller:v2.8.2
docker tag registry.cn-hangzhou.aliyuncs.com/google_containers/tiller:v2.8.2 k8s.gcr.io/kubernetes-helm/tiller:v2.8.2

部署


kubectl create serviceaccount --namespace kube-system tiller

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

helm init -i k8s.gcr.io/kubernetes-helm/tiller:v2.8.2
kubectl patch deploy --namespace kube-system tiller-deploy -p '{"spec":{"template":{"spec":{"serviceAccount":"tiller"}}}}'

helm version
本文由博客群发一文多发等运营工具平台 OpenWrite 发布

骑士
6 声望2 粉丝