Helm 采用客户端/服务器架构,有如下组件组成:
Helm 官网指导(V2 版本):https://v2.helm.sh/docs/using_helm/#quickstart-guide
原始下载地址:https://github.com/helm/helm/releases
百度网盘地址:链接: https://pan.baidu.com/s/1hHcbf9n7Z86gcGW5LTrXPg 提取码: mcsh
mv helm /usr/local/bin/
$ helm version
Client: &version.Version{SemVer:"v2.16.9", GitCommit:"8ad7037828e5a0fca1009dabe290130da6368e39", GitTreeState:"clean"}
Error: could not find a ready tiller pod
暂时不用关注这个 Error
这里从阿里云的镜像安装Tiller,默认的镜像国内无法访问,会导致 Tiller 的 pod 无法启动。
helm init --upgrade -i registry.cn-hangzhou.aliyuncs.com/google_containers/tiller:v2.16.0 --stable-repo-url https://kubernetes.oss-cn-hangzhou.aliyuncs.com/charts
$ kubectl get pods --namespace kube-system | grep tiller
tiller-deploy-6c45f9966d-vcmlk 1/1 Running 0 8s
$ kubectl delete deployment tiller-deploy --namespace kube-system