no endpoints available for service for kubernetes dashboard
I think you followed the Deploying the Dashboard UI but, you did not follow the whole installation process Creating a single master cluster with kubeadm correctly.
You might have missed:
You should now deploy a pod network to the cluster.
Run "kubectl apply -f [podnetwork].yaml" with one of the options listed at:
https://kubernetes.io/docs/concepts/cluster-administration/addons/
You can follow the Kubernetes documentation on how to Installing a pod network add-on.
Once done, you can verify if CNI is deployed and working using kubectl -n kube-system get pods
.
If everything goes correctly your kubernetes-dashboard
should be healthy and working.
You can run the following command to find the status of dashboard and its name.
kubectl get pods -n kube-system
kubernetes-dashboard-8y59ns938y0 0/1 Pending 0 57m
After that you can run a describe command on it to see whats wrong with the pod like the following.
kubectl describe pod kubernetes-dashboard-8y59ns938y0 -n kube-system
From the Message you should be able to figure out the reason why the dashboard is not working