Chinmayee Pdas
Chinmayee Pdas

Reputation: 155

Not able to access minikube dashboard

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.

Upvotes: 2

Views: 5216

Answers (3)

Payam Khaninejad
Payam Khaninejad

Reputation: 7996

For Windows users change the visualization. for me this worked:

minikube start --vm-driver=docker

Upvotes: 0

Naveen Katiyar
Naveen Katiyar

Reputation: 33

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

Upvotes: 1

Raja V
Raja V

Reputation: 31

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)

Upvotes: 3

Related Questions