There's information how to enable the dashboard extension
microk8s.enable dashboard
(which I ran) and how to display URLs of other extensions enabled like this:
kubectl cluster-info
How to get the URL of the dashboard of a microk8s installation running locally on Ubuntu 18.10?
I just use
which results in
It works in Firefox without issues. For Google Chrome I had to enable the flag
allow-insecure-localhost
to allow local websites without correct security. This is done by openingchrome://flags/#allow-insecure-localhost
and enabling the flag as shown:You can get the IP with
which shows the IP address which you need to access with
https://
prefixed in your browser because there's no redirect from HTTP to HTTPS.You can run
and then you can go to the
Endpoints
specifiedhttps://<ip>:<port>
. So in my case https://10.1.43.61:8443But Chromium didn't let me enter the site (not even under "advanced")
Thus I had to use Firefox where you will need to authenticate.
You can authenticate with a token. To get the token run (dcoumentation):
Now you can copy and paste the token and you should be able to access the dashboard.