Docker For Windows CE: Kubernetes: Unable to connect to the server eof

3/19/2019

I simply cannot find a solution for this " Unable to connect to the server eof", hopefully we solve this and it helps somebody in future, when searching to fix this issue. I tried to include all information in the screenshot. Let me know if more information is required.

I have tried to add the information requested, let me know if theres anything else you need or want me to try.

CMD Information

More Information

-- Optimus Prime
docker
kubernetes
windows

1 Answer

3/20/2019

Please try to get into logs of kube-dns docker container directly as below:

  1. Enable 'Show system containers' option in Docker Desktop settings: enter image description here
  2. Check if kube-dns container was ever run:

docker ps -a --filter name=k8s_kubedns_kube-dns --format "table {{.ID}}\t{{.Image}}"

You should see similar command output to this:

CONTAINER ID IMAGE
9009731e183d 80cc5ea4b547

  1. Get kube-dns container logs with:

docker logs {your_container_id} --tail 100

-- Nepomucen
Source: StackOverflow