Skip to content

Kubernetes Dashboard

Alexander Diemand edited this page Sep 17, 2024 · 3 revisions

Kubernetes Dashboard

from: https://github.com/kubernetes/dashboard

The dashboard will be available on:

https://localhost:8443

Installation

preparation, only required if not yet already done:

helm repo add kubernetes-dashboard https://kubernetes.github.io/dashboard/

run its installation:

helm upgrade --install kubernetes-dashboard kubernetes-dashboard/kubernetes-dashboard --create-namespace --namespace kubernetes-dashboard

the output gives some hints of how to access the dashboard:

Release "kubernetes-dashboard" does not exist. Installing it now.
NAME: kubernetes-dashboard
LAST DEPLOYED: Tue Sep 17 13:22:18 2024
NAMESPACE: kubernetes-dashboard
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
*************************************************************************************************
*** PLEASE BE PATIENT: Kubernetes Dashboard may need a few minutes to get up and become ready ***
*************************************************************************************************

Congratulations! You have just installed Kubernetes Dashboard in your cluster.

To access Dashboard run:
  kubectl -n kubernetes-dashboard port-forward svc/kubernetes-dashboard-kong-proxy 8443:443

NOTE: In case port-forward command does not work, make sure that kong service name is correct.
      Check the services in Kubernetes Dashboard namespace using:
        kubectl -n kubernetes-dashboard get svc

Dashboard will be available at:
  https://localhost:8443

it then remains to create a service account and a token for it:

see https://github.com/kubernetes/dashboard/blob/master/docs/user/access-control/creating-sample-user.md

The token for the service account "admin-user" can be recreated with:

kubectl -n kubernetes-dashboard create token admin-user
Clone this wiki locally