Kubernetes Dashboard is a web-based user interface that you can use as an alternative to the Kubernetes kubectl command line tool to:
- deploy containerized applications to a Kubernetes cluster
- troubleshoot your containerized applications
You use the Kubernetes Dashboard to get an overview of applications running on a cluster, as well as to create or modify individual Kubernetes resources. The Kubernetes Dashboard also reports the status of Kubernetes resources in the cluster, and any errors that have occurred. Note that to use the Kubernetes Dashboard, it must have been enabled when the cluster was initially created.
In contrast to the Kubernetes Dashboard, Container Engine for Kubernetes enables you to create and delete Kubernetes clusters and node pools, and to manage the associated compute, network, and storage resources.
Before you can use the Kubernetes Dashboard, you need to specify the cluster on which to perform operations.
To start the Kubernetes Dashboard:
- If you haven't already done so, download the cluster's kubeconfig configuration file. If the file does not have the expected default name and location of
$HOME/.kube/config, set the KUBECONFIG environment variable to point to the file. See Downloading a kubeconfig File to Enable Cluster Access.
- In a terminal window, enter
kubectl proxyto start the Kubernetes Dashboard.
- Open a browser and go to
http://localhost:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/to display the Kubernetes Dashboard.
- Click Overview to see the applications deployed on the cluster.