I am trying to access the kubernetes Dashboard using the config file. From the authentication when I select config file its giving ‘Not enough data to create auth info
If you want to see dashboard in action before going through a major investment setting up security, here is the way I got things going quickly. I did this with v2.0.0-rc7:
ClusterRoleRef that installs with this method needs to be replaced with this one. (You need to delete the existing one first with kubectl delete ..., then add it.)deployment to get that set up.Now you can go to the web page and click "skip". Voila! All your keys are exposed with no password. Pray nobody gets ahold of that link!
But wait, you say it's still too hard to get in? If you have a load balancer installed, here's two additional steps:
kubectl -n kubernetes-dashboard edit service kubernetes-dashboard will allow you to change the service spec to type: LoadBalancer. kubectl -n kubernetes-dashboard describe service kubernetes-dashboard will now show you the IP address that it has kindly put your insecure dashboard on.Now you have an insecure port with no password to easily browse your crown jewels. Enjoy!