Minikube on Windows 10 with Hyper-V stuck on "Starting cluster components"

6/28/2018

I'm using minikube on windows 10 and trying to start it using Hyper-V. Because I'm behind a corporate proxy and use CNTLM to avoid authentication. I added the http_proxy and https_proxy as docker env.

minikube start --vm-driver hyperv --hyperv-virtual-switch "PrimaryVirtualSwitch" --docker-env http_proxy=http://10.55.35.143:3128 --docker-env https_proxy=http://10.55.35.143:3128 --memory 8192 --cpus 4

The output is the following:

Starting local Kubernetes v1.10.0 cluster...
Starting VM...
Getting VM IP address...
Moving files into cluster...
Setting up certs...
Connecting to cluster...
Setting up kubeconfig...
Starting cluster components...

At the last step "Starting cluster components" the command stucks.

I tried to enable verbose output but it doesn't log anything after reaching the "Starting cluster components" step.

The command minikube ssh is working and I can ping 10.55.35.143:3128.

Could anyone give me a hint what I'm doing wrong?

Additional Information Minikube version: v0.28.0

-- Yannic Klem
hyper-v
kubernetes
minikube
windows-10

2 Answers

6/29/2018

Download cmder, type bash to switch to bash, export http_proxy and https_proxy and run minikube start. You can find more information about the related topic at https://github.com/kubernetes/minikube/issues/2425.

You may also try to launch minikube with --bootstrapper=localkube option.

-- VKR
Source: StackOverflow

10/23/2018

I was also stuck "Starting cluster components..."
After a lot of retries I found out in some github issue that I have to add the global system variable MINIKUBE_HOME and then it worked. The variable has to point to the path where minikube.exe is installed.

MINIKUBE_HOME=C:\Program Files (x86)\Kubernetes\Minikube
-- RenRen
Source: StackOverflow