Please help - minikube + kubernetes: unable to access the dashbaord


#1

I am new to kubernetes and I have been experimenting with docker & minkube + kubernetes for a few weeks…

Everything appears to be working properly except the dashboard…These are my investigation but I have no clue how to fix this.

It is an out-of-the-box configuration, even with kubectl proxy with port 8001 don’t work.

me@DEV ~ minikube version minikube version: v0.28.0 me@DEV ~ kubectl version
Client Version: version.Info{Major:“1”, Minor:“11”, GitVersion:“v1.11.0”, GitCommit:“91e7b4fd31fcd3d5f436da26c980becec37ceefe”, GitTreeState:“clean”, BuildDate:“2018-06-27T20:17:28Z”, GoVersion:“go1.10.2”, Compiler:“gc”, Platform:“linux/amd64”}
Server Version: version.Info{Major:“1”, Minor:“10”, GitVersion:“v1.10.0”, GitCommit:“fc32d2f3698e36b93322a3465f63a14e9f0eaead”, GitTreeState:“clean”, BuildDate:“2018-03-26T16:44:10Z”, GoVersion:“go1.9.3”, Compiler:“gc”, Platform:“linux/amd64”}
zollen@DEV ~ $ kubectl logs pod/kubernetes-dashboard-5498ccf677-hw574 --namespace=kube-system
2018/07/16 00:23:46 Starting overwatch
2018/07/16 00:23:46 Using in-cluster config to connect to apiserver
2018/07/16 00:23:46 Using service account token for csrf signing
2018/07/16 00:23:46 No request provided. Skipping authorization
2018/07/16 00:24:16 Error while initializing connection to Kubernetes apiserver. This most likely means that the cluster is misconfigured (e.g., it has invalid apiserver certificates or service accounts configuration) or the --apiserver-host param points to a server that does not exist. Reason: Get

me@DEV ~/Downloads $ minikube dashboard
Waiting, endpoint for service is not ready yet…
Waiting, endpoint for service is not ready yet…

me@DEV ~ $ curl https://10.96.0.1:443/version
curl: (60) server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none

me@DEV ~ $ kubectl proxy &
Starting to serve on 127.0.0.1:8001


#2

Hi @zollen, this forum is for Linkerd, not Kuberenetes. I recommend trying the Kubernetes community slack.


#3