Kubernetes Dashboard Token Issue Solved!

Jan Rock
1 min readNov 24, 2020


I believe this would be useful temporary solution for everyone who struggle to log into Kubernetes Dashboard. Everything installed, Dashboard up, but where is the token? For some reason you can not make it working? There is simple solution to skip the annoying token. Of course until you find the way to fix it.

If you want to disable the token login, use this command:

microk8s.kubectl edit deployment/kubernetes-dashboard --namespace=kube-system

Note: kube-system is for Microk8s, maybe your namespace will be different

Find this (line #40) and add line with enable-skip-login as below:

creationTimestamp: null
k8s-app: kubernetes-dashboard
- args:
- --auto-generate-certificates
- --namespace=kube-system
- --enable-skip-login

Save and exit (wq).

Final step is make sure the service is available from outside:

microk8s.kubectl proxy — address=’' — accept-hosts=’^*$’

Reload dashboard and you should see this screen:


Press Skip! ;)