" Kubernetes is starting ....." forever error on windows 10

SyCode picture SyCode · Mar 26, 2019 · Viewed 10.3k times · Source

I had a kubernetes single node cluster on my windows 10 machine. Due some errors I had to reinstall the Docker Desktop and since then kubernetes installation has failed while docker installed successfully. All attempts to resolve e.g. deleting the config file in .kube directory and complete reinstallation have failed. See attached pix for details. Installed docker version is Docker version 18.09.2, build 6247962. All search online efforts do not yield a possible solution. I would appreciate pointers to a solution or walk-around.

enter image description here

Answer

luudis picture luudis · Jun 1, 2020

I stucked in two kinds of error

  1. system pods running, found labels but still waiting for labels...
  2. xxxx: EOF

I finally sovled it by following the advice by the following project, https://github.com/AliyunContainerService/k8s-for-docker-desktop/ Do as it told you, if not work, remove ~/.kube and ~/Library/Group\ Containers/group.com.docker/pki directory, then restart docker desktop and wait like 5 minutes. The Kubernetes status is running eventually.