You can run
kubectl describe service/kubernetes-dashboard -n kube-system
and then you can go to the Endpoints
specified https://<ip>:<port>
. So in my case https://10.1.43.61:8443
Name: kubernetes-dashboard
Namespace: kube-system
Labels: k8s-app=kubernetes-dashboard
Annotations: Selector: k8s-app=kubernetes-dashboard
Type: ClusterIP
IP: 10.152.183.28
Port: <unset> 443/TCP
TargetPort: 8443/TCP
Endpoints: 10.1.43.61:8443
Session Affinity: None
Events: <none>
But 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):
token=$(microk8s kubectl -n kube-system get secret | grep default-token | cut -d " " -f1)
microk8s kubectl -n kube-system describe secret $token
Now you can copy and paste the token and you should be able to access the dashboard.