MicroK8s on Pi's - enabling Dashboard
March 4, 2021 | ClusterInstallation for MicroK8s can be found here: https://ubuntu.com/tutorials/how-to-kubernetes-cluster-on-raspberry-pi#1-overview
Enable the dashboard:
microk8s enable dashboard
Check that the plugin is installed
kubectl get all --all-namespaces
Make the Dashboard available on the network.
kubectl -n kube-system edit service kubernetes-dashboard
and change
type: ClusterIP
(to)
type: NodePort
enable rbac:
microk8s enable rbac
Get usertoken from the bottom of config
microk8s config
Copy it and get the external port on the dashboard
kubectl --namespace=kube-system get service kubernetes-dashboard
and access the master IP:port and use the token.