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

S
Sebastian Florek 已提交
3 4
[![Continuous Integration](https://github.com/kubernetes/dashboard/workflows/Continuous%20Integration/badge.svg)](https://github.com/kubernetes/dashboard/actions?query=workflow%3A%22Continuous+Integration%22)
[![Continuous Deployment](https://github.com/kubernetes/dashboard/workflows/Continuous%20Deployment/badge.svg)](https://github.com/kubernetes/dashboard/actions?query=workflow%3A%22Continuous+Deployment%22)
M
Marcin Maciaszczyk 已提交
5
[![Go Report Card](https://goreportcard.com/badge/github.com/kubernetes/dashboard)](https://goreportcard.com/report/github.com/kubernetes/dashboard)
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

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

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

14
## Getting Started
15

S
Shu Muto 已提交
16
**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.
17

18 19
### Install

20
To deploy Dashboard, execute following command:
21

22
```shell
23
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.3.0/aio/deploy/recommended.yaml
24
```
C
Christoph Held 已提交
25

26
Alternatively, you can install Dashboard using Helm as described at [`https://artifacthub.io/packages/helm/k8s-dashboard/kubernetes-dashboard`](https://artifacthub.io/packages/helm/k8s-dashboard/kubernetes-dashboard).
27 28 29

### Access

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

32 33
```shell
kubectl proxy
C
Christoph Held 已提交
34
```
35 36
Now access Dashboard at:

37 38
[`http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/`](
http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/).
39

J
Jim Angel 已提交
40
## Create An Authentication Token (RBAC)
S
Shu Muto 已提交
41
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 已提交
42

43
**NOTE:**
44
* Kubeconfig Authentication method does not support external identity providers or certificate-based authentication.
45
* [Metrics-Server](https://github.com/kubernetes-sigs/metrics-server) 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.
46

47
## Documentation
C
Christoph Held 已提交
48

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

51 52 53
* [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.
54

55 56 57 58 59
## 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 已提交
60 61 62

* [**#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 已提交
63
* [**Issue tracker**](https://github.com/kubernetes/dashboard/issues)
64
* [**SIG info**](https://github.com/kubernetes/community/tree/master/sig-ui)
S
Shu Muto 已提交
65 66 67 68
* [**Roles**](ROLES.md)

### Contribution

69
Learn how to start contribution on the [Contributing Guidline](CONTRIBUTING.md).
70 71 72 73

### Code of conduct

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

C
Christoph Held 已提交
75
## License
76

J
Jim Angel 已提交
77
[Apache License 2.0](https://github.com/kubernetes/dashboard/blob/master/LICENSE)
S
Shu Muto 已提交
78 79 80

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