🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
### Installing helm \[Client\] curl -L https://git.io/get_helm.sh | bash ### Create Tiller Service Account With Cluster Admin Permissions 1. Create a service account names tiller 2. Create a ClusterRoleBinding with cluster-admin permissions to the tiller service account. Create a file named`helm-rbac.yaml`and copy the following contents to the file. apiVersion: v1 kind: ServiceAccount metadata: name: tiller namespace: kube-system --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: tiller roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: cluster-admin subjects: - kind: ServiceAccount name: tiller namespace: kube-system Lets create these resources using kubectl kubectl apply -f helm-rbac.yam ### Initialize Helm: Deploy Tiller helm init --service-account tiller --upgrade --tiller-image=registry.cn-hangzhou.aliyuncs.com/google_containers/tiller:v2.16.0 --stable-repo-url=https://kubernetes.oss-cn-hangzhou.aliyuncs.com/charts 注意: helm client 与 helm server 版本保持一致 Client: &version.Version{SemVer:"v2.16.1", GitCommit:"bbdfe5e7803a12bbdf97e94cd847859890cf4050", GitTreeState:"clean"} Server: &version.Version{SemVer:"v2.16.0", GitCommit:"e13bc94621d4ef666270cfbe734aaabf342a49bb", GitTreeState:"clean"}