更新时间:2023-11-20 09:37:04
当前掌舵版本不适用于kubernetes 1.16.0版本
The current helm version does not work with kubernetes version 1.16.0
您可以将kubernetes降级到1.15.3版
You can downgrade kubernetes to version 1.15.3
minikube start --kubernetes-version 1.15.3
helm init
或使用我的解决方案将其修复为1.16.0版
or use my solution to fix it at version 1.16.0
您必须创建分till 服务帐户 和 ClusterRoleBinding .
You have to create tiller Service Account and ClusterRoleBinding.
您只需使用以下命令即可做到这一点:
You can simply do that by using those commands:
kubectl --namespace kube-system create sa tiller
kubectl create clusterrolebinding tiller --clusterrole cluster-admin --serviceaccount=kube-system:tiller
只需创建分till
helm init --override spec.selector.matchLabels.'name'='tiller',spec.selector.matchLabels.'app'='helm' --output yaml | sed 's@apiVersion: extensions/v1beta1@apiVersion: apps/v1@' | kubectl apply -f -