You can also reach the dashboard by forwarding its port to a free one on your host with: microk8s kubectl port-forward -n kube-system service/kubernetes-dashboard 10443:443įor more information on port-forward, see the kubectl documentation. Have an IP address on your local network (the Cluster IP of the kubernetes-dashboard service), Next, you need to connect to the dashboard service. Restricted permissions as detailed in the upstream Dashboard access control documentation. In an RBAC enabled setup ( microk8s enable rbac) you need to create a user with Microk8s kubectl -n kube-system describe secret $token This is generated randomly on deployment, so a few commandsįor MicroK8s 1.24 or newer microk8s kubectl create token defaultįor MicroK8s 1.23 or older token=$(microk8s kubectl -n kube-system get secret | grep default-token | cut -d " " -f1) To log in to the Dashboard, you will need the access token (unless RBAC hasĪlso been enabled). To access the installed dashboard, you’ll need to follow the guide for the relevant platform: On Linux On all platforms, you can install the dashboard with one command: microk8s enable dashboard The standard Kubernetes Dashboard is a convenient way to keep track of the Manage upgrades with a Snap Store Proxy.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |