From 9ecccb3b93ce35a923eb25c3782d8f74852b2f65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20F=20Bj=C3=B6rklund?= Date: Mon, 17 Jun 2019 21:01:07 +0200 Subject: [PATCH] Add some documentation about the dashboard --- README.md | 2 +- docs/dashboard.md | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 docs/dashboard.md diff --git a/README.md b/README.md index 1b1367027..45119bdd4 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ minikube runs the latest stable release of Kubernetes, with support for standard * [Persistent Volumes](https://github.com/kubernetes/minikube/blob/master/docs/persistent_volumes.md) * Ingress * RBAC -* Dashboard - `minikube dashboard` +* [Dashboard](https://github.com/kubernetes/minikube/blob/master/docs/dashboard.md) - `minikube dashboard` * [Container runtimes](https://github.com/kubernetes/minikube/blob/master/docs/alternative_runtimes.md) - `start --container-runtime` * [Configure apiserver and kubelet options](https://github.com/kubernetes/minikube/blob/master/docs/configuring_kubernetes.md) via command-line flags diff --git a/docs/dashboard.md b/docs/dashboard.md new file mode 100644 index 000000000..418647bed --- /dev/null +++ b/docs/dashboard.md @@ -0,0 +1,37 @@ +# Dashboard + +Minikube supports the [Kubernetes Dashboard](https://github.com/kubernetes/dashboard) out of the box. + +## Accessing the UI + +To access the dashboard: + +```shell +minikube dashboard +``` + +This will enable the dashboard add-on, and open the proxy in the default web browser. + +To stop the proxy (leaves the dashboard running), abort the started process (`Ctrl+C`). + +## Individual steps + +If the automatic command doesn't work for you for some reason, here are the steps: + +```console +$ minikube addons enable dashboard +✅ dashboard was successfully enabled +``` + +If you have your kubernetes client configured for minikube, you can start the proxy: + +```console +$ kubectl --context minikube proxy +Starting to serve on 127.0.0.1:8001 +``` + +Access the dashboard at: + + + +For additional information, see [this page](https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/). -- GitLab