Easily accessible Kubernetes dashboard #70
Changes
- Rename the folder dashboard to haven-dashboard to avoid confusion.
- Add a new installation script for Kubernetes dashboard.
- Handle login through oauth2-proxy.
How to use
Provision the dashboard with:
mkdir /opt/haven/state/addons/kubernetes-dashboard
cp addons/kubernetes-dashboard/dist/kubernetes-dashboard.host /opt/haven/state/addons/kubernetes-dashboard/kubernetes-dashboard.host
bash addons/kubernetes-dashboard/provision.sh
and follow the instructions. The dashboard is now available through https://kubernetes-dashboard.dev.haven.vng.cloud/
Make sure you have proper access rights on the cluster to view contents:
kubectl create clusterrolebinding me-cluster-admin --clusterrole=cluster-admin --user=oidc:my@example.com
View the status of the dashboard with:
bash addons/kubernetes-dashboard/status.sh
Delete the dashboard with:
bash addons/kubernetes-dashboard/destroy.sh
Edited by Bart Jeukendrup