我在Windows 10中运行了minikube启动程序,但出现此错误,我完全安装了minikube,virtualbox和kubectl。
-->>minikube start
* minikube v1.2.0 on windows (amd64)
* Tip: Use 'minikube start -p <name>' to create a new cluster, or 'minikube delete' to delete this one.
* Re-using the currently running virtualbox VM for "minikube" ...
* Waiting for SSH access ...
* Found network options:
- NO_PROXY=localhost,127.0.0.1,10.96.0.0/12,192.168.99.1/24,192.168.39.0/24
* Configuring environment for Kubernetes v1.15.0 on Docker 18.09.6
- env NO_PROXY=localhost,127.0.0.1,10.96.0.0/12,192.168.99.1/24,192.168.39.0/24
* Relaunching Kubernetes v1.15.0 using kubeadm ...
X Error restarting cluster: waiting for apiserver: timed out waiting for the condition
* Sorry that minikube crashed. If this was unexpected, we would love to hear from you:
- https://github.com/kubernetes/minikube/issues/new
-->minikube status
host: Running
kubelet: Running
apiserver: Stopped
kubectl: Correctly Configured: pointing to minikube-vm at 192.168.99.101
如果有解决此问题的方法,请告诉我。
答案 0 :(得分:0)
您应该尝试的事情很少:
您可能没有等待足够长的时间才能使apiserver正常运行。增加apiserver等待时间。
使用不同版本的Minikube。请记住运行minikube delete
来删除先前的群集状态。
如果您的环境位于代理之后,则请设置正确的NO_PROXY
信封。有关更多信息,请参见here。
请告诉我是否有帮助。