diff --git a/docs/tutorials/setup_k8s.md b/docs/tutorials/setup_k8s.md index 14c71c61..4f44b356 100644 --- a/docs/tutorials/setup_k8s.md +++ b/docs/tutorials/setup_k8s.md @@ -174,7 +174,7 @@ kubectl get pods --namespace longhorn-system --watch kubectl get storageclass ``` -### Set up k8s dashboard +### Set up k8s dashboard (Optional) The Kubernetes dashboard is a web-based Kubernetes user interface. As per it can be installed into the cluster as follows: @@ -189,9 +189,38 @@ To access the gui through a browser on `https://localhost:8080/`: kubectl -n kubernetes-dashboard port-forward svc/kubernetes-dashboard-kong-proxy 8080:443 ``` -To generate a bearer token: +To generate a bearer token in order to log in - first create a Service Account: ``` -kubectl create token default +kubectl apply -f - <