Skip to content

Commit b59b70c

Browse files
committed
Add k8s dashboard
1 parent 65f996b commit b59b70c

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

docs/tutorials/setup_k8s.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,26 @@ type: kubernetes.io/service-account-token
159159
EOF
160160
```
161161

162+
### Set up k8s dashboard
163+
164+
The Kubernetes dashboard is a web-based Kubernetes user interface.
165+
As per <https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/> it can be installed into the cluster as follows:
166+
167+
```
168+
helm repo add kubernetes-dashboard https://kubernetes.github.io/dashboard/
169+
helm upgrade --install kubernetes-dashboard kubernetes-dashboard/kubernetes-dashboard --create-namespace --namespace kubernetes-dashboard
170+
```
171+
172+
To access the gui through a browser on `https://localhost:8080/`:
173+
```
174+
kubectl -n kubernetes-dashboard port-forward svc/kubernetes-dashboard-kong-proxy 8080:443
175+
```
176+
177+
To generate a bearer token:
178+
```
179+
kubectl create token default
180+
```
181+
162182
### Completed
163183

164184
That's it. You now have installed the necessary software to start experimenting

0 commit comments

Comments
 (0)