If you want to access the Kubernetes dashboard publicly, open the port 10443
in your VM.
- Enable the dashboard:
microk8s.enable dashboard
- Get the token
token=$(microk8s.kubectl -n kube-system get secret | grep default-token | cut -d " " -f1) microk8s.kubectl -n kube-system describe secret $token
kubectl port-forward -n kube-system service/kubernetes-dashboard 10443:443 --address 0.0.0.0
- Launch
Brave
browser with the--ignore-certificate-errors
flag: "C:\Program Files (x86)\BraveSoftware\Brave-Browser\Application\brave.exe" --ignore-certificate-errors