So you want to access the kubernetes desktop on microk8s

Microk8s comes with a graphical dashboard. While not wanting to be dependent on a GUI I did want to see what it could do for me. Unfortunately this is another learning cliff.

For good security reasons the dashboard is only easily accessible on a local machine and there are several ways of providing access to the dashboard; but choose wisely as how you provide access to the dashboard affects how you authenticate to it.

The simplest approach I have found is to:
  • port forward the application to your hosts external addresses
  • use token login
Be warned if you use the API proxy method then you have to work a lot harder … or you can disable login security using skip-login (disabling security is almost certainly a very bad idea)
Read More...