# Kubernetes Additional How To's (install-dashboard)= ## Install the Kubernetes Dashboard The dashboard gives you a nice GUI for exploring and controlling your cluster. It is very useful for new users to get an understanding of what Kubernetes has to offer. These commands should be run after you have set up your Kubernetes cluster and setup the environment variables as described in {any}`../tutorials/setup_k8s`. Execute this on your workstation: ```bash GITHUB_URL=https://github.com/kubernetes/dashboard/releases VERSION_KUBE_DASHBOARD=$(curl -w '%{url_effective}' -I -L -s -S ${GITHUB_URL}/latest -o /dev/null | sed -e 's|.*/||') kubectl create -f https://raw.githubusercontent.com/kubernetes/dashboard/${VERSION_KUBE_DASHBOARD}/aio/deploy/recommended.yaml ``` Then create the admin user and role by executing the following: ```bash kubectl apply -f - </dev/null):0 export LIBGL_ALWAYS_INDIRECT=1 # IP ADDRESS from above kubectl command ./opi/stexample-gui.sh -e EPICS_CA_ADDR_LIST=192.168.86.33 ``` [64bit raspberry pi os]: https://www.raspberrypi.org/forums/viewtopic.php?t=275370 [dashboard screen url]: http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/#/workloads?namespace=epics-iocs [docker for wsl]: https://docs.docker.com/docker-for-windows/wsl/ [wsl gui support]: https://docs.microsoft.com/en-us/windows/wsl/tutorials/gui-apps [wsl2 instructions]: https://docs.microsoft.com/en-us/windows/wsl/install-win10 [x11 server for windows]: https://sourceforge.net/projects/vcxsrv/