dockerkubernetesdocker-desktop

Docker desktop - kubernetes failed to start


I have installed Docker Desktop (version : 2.3.0.4) and enabled Kubernetes. I deployed couple of PODS and everything was working fine, Since yesterday I am facing a weird issue mentioned below:

Unable to connect to the server: dial tcp 127.0.0.1:6443: connectex: No 
connection could be made because the target machine actively refused it.

As such, no changes were made on my system. I am using Linux Containers on Windows 10 machine.

Following steps I have tried:

  1. Restarted the Docker Desktop
  2. Tried the same with minikube and Docker Desktop both
  3. Tried to disable the firewall but due to some permissions, I am not able to turn it off.
  4. I have reset the kubernetes cluster as well.

Docker Desktop Error


Solution

  • Finally,I found the solution for this.

    VPN was causing the issue, I am using my office laptop and after restart, VPN was enabled and logged-in and due to this Kubernetes was not working.

    After disabling the VPN, Kubernetes cluster working fine.

    pods

    Hope that helps others as well.