Access the Kubernetes Dashboard
1 min
You can also access the Dashboard using the same port-forward + SSH tunnel method, for visually inspecting the cluster.
nohup kubectl port-forward svc/kubernetes-dashboard 8080:80 -n kubernetes-dashboard > /tmp/pf-dashboard.log 2>&1 < /dev/null &
disown
ssh -N -L 8080:127.0.0.1:8080 <USER>@<SERVER_IP>Generate a login token:
kubectl -n kubernetes-dashboard create token kubernetes-dashboardOpen http://localhost:8080 in your browser, paste the generated token, and sign in.