企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
### 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"}