Skip to content

damozhiying/dashboard

Repository files navigation

Kubernetes Dashboard

Build Status Coverage Status Go Report Card

Kubernetes Dashboard is a general purpose, web-based UI for Kubernetes clusters. It allows users to manage applications running in the cluster and troubleshoot them, as well as manage the cluster itself.

Dashboard UI workloads page

Deployment

It is likely that the Dashboard is already installed on your cluster. Check with the following command:

kubectl get pods --all-namespaces | grep dashboard

If it is missing, you can install the latest stable release by running the following command:

kubectl create -f https://rawgit.com/kubernetes/dashboard/master/src/deploy/kubernetes-dashboard.yaml

Note that for the metrics and graphs to be available you need to have Heapster running in your cluster.

Usage

You may access the UI via the apiserver proxy. Open a browser and navigate to https://<kubernetes-master>/ui.

Please note, this works only if the apiserver is setup to allow authentication with username and password. Currently, the setup tool kubeadm is not doing so. If username and password is unknown to you then use kubectl config view to find it.

Alternative Usage

Alternatively, you may access the UI via the kubectl proxy. This is useful if you have a kubectl configured with access to the cluster, but lack password credentials for use in a browser:

kubectl proxy

This will make the dashboard available at http://localhost:8001/ui

This will only be available from the machine where the command is executed, but you can see kubectl proxy --help for more options.

Documentation

License

The work done has been licensed under Apache License 2.0. The license file can be found here. You can find out more about the license at:

http://www.apache.org/licenses/LICENSE-2.0

About

General-purpose web UI for Kubernetes clusters

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 51.3%
  • Go 31.1%
  • HTML 15.2%
  • CSS 2.1%
  • Other 0.3%