I followed the microk8s tutorial, installed via snap, started add-ons, and everything seems to be up and operational; however, I cannot figure out how to access the dashboard remotely. All of the nodes in the cluster are headless so I cannot access localhost with a browser. Any help is appreciated…
hostname$ microk8s status
microk8s is running
addons:
dashboard: enabled
dns: enabled
registry: enabled
storage: enabled
helm: disabled
helm3: disabled
ingress: disabled
metallb: disabled
metrics-server: disabled
rbac: disabled
hostname$ microk8s kubectl port-forward -n kube-system service/kubernetes-dashboard 10443:443
Forwarding from 127.0.0.1:10443 -> 8443
hostname$ curl --insecure https://127.0.01:10443
[raw web page]
Cluster information:
Kubernetes version: 1.18
Cloud being used: bare-metal
Installation method: snap
Host OS: Ubuntu
CNI and version:
CRI and version: