安装helm 安装helm docker run -ti --rm -v /usr/local/bin/:/var/log/abc index.alauda.cn/claas/helm:v2.10.0-rc.2 sh -c "cp /systembin/helm /var/log/abc" 安装chart_repo源(我自己的平台已经安装,所以不需要操作) docker run -d \ -p 8088:8080 \ -e PORT=8080 \ -e DEBUG=1 \ -e STORAGE="local" \ -e STORAGE_LOCAL_ROOTDIR="/data" \ -e BASIC_AUTH_USER="chartmuseum" \ -e BASIC_AUTH_PASS="chartmuseum" \ -v /data:/data \ chartmuseum/chartmuseum:latest 检查确定安装成功 helm repo list NAME URL local http://127.0.0.1:8879/charts stable http://chartmuseum:chartmuseum@172.16.16.21:8088 执行helm init 初始化 helm init --stable-repo-url=http://chartmuseum:chartmuseum@172.16.16.21:8088 --tiller-image=index.alauda.cn/claas/tiller:v2.11.0 添加相关权限 kubectl create serviceaccount --namespace kube-system tiller kubectl patch deploy --namespace kube-system tiller-deploy -p '{"spec":{"template":{"spec":{"serviceAccount":"tiller"}}}}' kubectl create clusterrolebinding……

阅读全文