Not able to access minikube dashboard

3/16/2018

I installed minikube with the below command:

curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/ 

Then, I start minikube cluster using

minikube start --vm-driver=none 

When I try to access the dashboard I see the error

minikube dashboard

Could not find finalized endpoint being pointed to by kubernetes-dashboard: Error validating service: Error getting service kubernetes-dashboard: Get https://10.0.2.15:8443/api/v1/namespaces/kube-system/services/kubernetes-dashboard: net/http: TLS handshake timeout

I set the proxy using

set NO_PROXY=localhost,127.0.0.1,10.0.2.15

Still same error.

Any help would be appreciated.

-- Chinmayee Pdas
kubernetes

2 Answers

11/23/2018

I also had same issue, and for me it was happening because minikube VM was short of memory that was allocated.

Increasing Minikube RAM or deleting some exiting deployment, should resolve this issue.

To increase RAM configured for Minikube VM, use below command:

minikube config set memory 4096

After this, there would be need for minikube to stop, delete, and start using below commands.

minikube stop
minikube delete
minikube start
-- Naveen Katiyar
Source: StackOverflow

7/14/2018

I had the same issue, I was behind corporate proxy, adding minikube ip to the no_proxy env variable on host machine solved the issue.

export no_proxy=$no_proxy,$(minikube ip)
-- Raja V
Source: StackOverflow