README.md 3.8 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 6 7
[![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 已提交
8

J
Jim Angel 已提交
9
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.
10

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

13
## Getting Started
14

S
Shu Muto 已提交
15
**IMPORTANT:** Read the [Access Control](docs/user/access-control/README.md) guide before performing any further steps. The default Dashboard deployment contains a minimal set of RBAC privileges needed to run.
16

17
To deploy Dashboard, execute following command:
18

19
```sh
M
Marcin Maciaszczyk 已提交
20
$ kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v1.10.1/src/deploy/recommended/kubernetes-dashboard.yaml
21
```
C
Christoph Held 已提交
22

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

25
```sh
C
Christoph Held 已提交
26 27
$ kubectl proxy
```
28 29
Now access Dashboard at:

30 31
[`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/).
32

J
Jim Angel 已提交
33
## Create An Authentication Token (RBAC)
S
Shu Muto 已提交
34
To find out how to create sample user and log in follow [Creating sample user](docs/user/access-control/creating-sample-user.md) guide.
S
Sebastian Florek 已提交
35

36
**NOTE:**
J
Jim Angel 已提交
37 38
* Kubeconfig Authentication method does not support external identity providers or certificate-based authentication. 
* Dashboard can only be accessed over HTTPS
S
Shu Muto 已提交
39
* [Heapster](https://github.com/kubernetes/heapster/) has to be running in the cluster for the metrics and graphs to be available. Read more about it in [Integrations](docs/user/integrations.md) guide.
40

41
## Documentation
C
Christoph Held 已提交
42

S
Shu Muto 已提交
43
Dashboard documentation can be found on [docs](docs/README.md) directory which contains:
C
Christoph Held 已提交
44

S
Shu Muto 已提交
45 46 47
* [Common](docs/common/README.md): Entry-level overview
* [User Guide](docs/user/README.md): [Installation](docs/user/installation.md), [Accessing Dashboard](docs/user/accessing-dashboard/README.md) and more for users
* [Developer Guide](docs/developer/README.md): [Getting Started](docs/developer/getting-started.md), [Dependency Management](docs/developer/dependency-management.md) and more for anyone interested in contributing
48

49 50 51 52 53
## Community, discussion, contribution, and support

Learn how to engage with the Kubernetes community on the [community page](http://kubernetes.io/community/).

You can reach the maintainers of this project at:
J
Jim Angel 已提交
54 55 56

* [**#sig-ui on Kubernetes Slack**](https://kubernetes.slack.com)
* [**kubernetes-sig-ui mailing list** ](https://groups.google.com/forum/#!forum/kubernetes-sig-ui)
M
Marcin Maciaszczyk 已提交
57
* [**Issue tracker**](https://github.com/kubernetes/dashboard/issues)
58
* [**SIG info**](https://github.com/kubernetes/community/tree/master/sig-ui)
S
Shu Muto 已提交
59 60 61 62 63
* [**Roles**](ROLES.md)

### Contribution

Learn how to start contribution on the [Contributing Guidline](CONTRIBUTING.md)
64 65 66 67

### Code of conduct

Participation in the Kubernetes community is governed by the [Kubernetes Code of Conduct](code-of-conduct.md).
J
Jim Angel 已提交
68

C
Christoph Held 已提交
69
## License
70

J
Jim Angel 已提交
71
[Apache License 2.0](https://github.com/kubernetes/dashboard/blob/master/LICENSE)
S
Shu Muto 已提交
72 73 74

----
_Copyright 2019 [The Kubernetes Dashboard Authors](https://github.com/kubernetes/dashboard/graphs/contributors)_