头盔初始化失败

时间:2019-06-04 11:54:14

标签: kubernetes kubernetes-helm

运行头盔初始化失败

我尝试在MacOS Mojave 10.14.5上执行:

helm init

$HELM_HOME has been configured at /Users/johnnydepp/.helm.
Error: error installing: Post https://192.168.99.103:8443/apis/extensions/v1beta1/namespaces/kube-system/deployments: Gateway Timeout

预期的输出是它将Tiller安装到我正在运行的Kubernetes集群中。还将设置任何必要的本地配置。

1 个答案:

答案 0 :(得分:0)

尝试一下:

kubectl -n kube-system create serviceaccount tiller 

kubectl create clusterrolebinding tiller \
  --clusterrole cluster-admin \
  --serviceaccount=kube-system:tiller 

helm init --service-account tiller --history-max 200 

共享以下命令的输出:

kubectl get cs
NAME                 STATUS    MESSAGE             ERROR
controller-manager   Healthy   ok                  
scheduler            Healthy   ok                  
etcd-0               Healthy   {"health":"true"}