sudo kubectl --namespace=kube-system edit deployment/tiller-deploy
将automountServiceAccountToken修改为:true
保存退出即可
另外参考《每天5分钟玩转 Kubernetes》,可以尝试下面的方法
kubectl create serviceaccount --namespace kube-system tiller
kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller
kubectl patch deploy --namespace kube-system tiller-deploy -p '{"spec":{"template":{"spec":{"serviceAccount":"tiller"}}}}'