README.md 3.1 KB
Newer Older
1
# Kubernetes Dashboard
2

3
[![Build Status](https://travis-ci.org/kubernetes/dashboard.svg?branch=master)](https://travis-ci.org/kubernetes/dashboard)
M
Marcin Maciaszczyk 已提交
4
[![Go Report Card](https://goreportcard.com/badge/github.com/kubernetes/dashboard)](https://goreportcard.com/report/github.com/kubernetes/dashboard)
5
[![Greenkeeper badge](https://badges.greenkeeper.io/kubernetes/dashboard.svg)](https://greenkeeper.io/)
6 7 8
[![Coverage Status](https://codecov.io/github/kubernetes/dashboard/coverage.svg?branch=master)](https://codecov.io/github/kubernetes/dashboard?branch=master)
[![GitHub release](https://img.shields.io/github/release/kubernetes/dashboard.svg)](https://github.com/kubernetes/dashboard/releases/latest)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/kubernetes/dashboard/blob/master/LICENSE)
B
bryk 已提交
9

10 11
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.
12

B
bryk 已提交
13 14
![Dashboard UI workloads page](docs/dashboard-ui.png)

15
## Getting Started
16

17 18 19
**IMPORTANT:** Since version 1.7 Dashboard uses more secure setup. It means, that by default it has minimal set of
privileges and can only be accessed over HTTPS. It is recommended to read [Access Control](
https://github.com/kubernetes/dashboard/wiki/Access-control) guide before performing any further steps.
20

21
To deploy Dashboard, execute following command:
22

23 24 25
```sh
$ kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml
```
C
Christoph Held 已提交
26

27
To access Dashboard from your local workstation you must create a secure channel to your Kubernetes cluster. Run the following command:
28

29
```sh
C
Christoph Held 已提交
30 31
$ kubectl proxy
```
32 33
Now access Dashboard at:

34

35 36
[`http://localhost:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/`](
http://localhost:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/).
37

38
**NOTE:**
39
* The shortcut `http://localhost:8001/ui` is deprecated. Use the full proxy URL shown above.
40
* [Heapster](https://github.com/kubernetes/heapster/) has to be running in the cluster for the metrics
41 42
and graphs to be available. Read more about it in [Integrations](
https://github.com/kubernetes/dashboard/wiki/Integrations) guide.
43

44
## Documentation
C
Christoph Held 已提交
45

46
Dashboard documentation can be found on [Wiki](https://github.com/kubernetes/dashboard/wiki) pages, it includes:
C
Christoph Held 已提交
47

48
* Common: Entry-level overview
B
bryk 已提交
49

50 51
* User Guide: [Installation](https://github.com/kubernetes/dashboard/wiki/Installation), [Accessing Dashboard](
https://github.com/kubernetes/dashboard/wiki/Accessing-dashboard) and more for users
52

53 54 55
* Developer Guide: [Getting Started](https://github.com/kubernetes/dashboard/wiki/Getting-started), [Dependency
Management](https://github.com/kubernetes/dashboard/wiki/Dependency-management) and more for anyone interested in
contributing
56

C
Christoph Held 已提交
57
## License
58

59
The work done has been licensed under Apache License 2.0. The license file can be found [here](LICENSE). You can find
60
out more about the license at [www.apache.org/licenses/LICENSE-2.0](//www.apache.org/licenses/LICENSE-2.0).