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

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


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.


I would suggest you to check running Kubernetes components using command: docker ps -a --filter name=k8s as recommended by Nepomucen here.

Then, check the logs for each component using command:docker logs {container id from the previous command}. You might some idea from the logs.

In my case, it was- x509: certificate is valid for docker-for-desktop, kubernetes, kubernetes.default, kubernetes.default.svc, kubernetes.default.svc.cluster.local, host.docker.internal, not vm.docker.internal

So, I tried the solution suggested in this link and it worked for me


deleting the pki directory in C:\programdata\DockerDesktop solved the issue for me.