README.md 4.0 KB
Newer Older
G
Gao Hongtao 已提交
1 2 3
Apache SkyWalking Kubernetes
==========

wu-sheng's avatar
wu-sheng 已提交
4
<img src="http://skywalking.apache.org/assets/logo.svg" alt="Sky Walking logo" height="90px" align="right" />
G
Gao Hongtao 已提交
5

wu-sheng's avatar
wu-sheng 已提交
6 7 8 9 10
[![GitHub stars](https://img.shields.io/github/stars/apache/skywalking.svg?style=for-the-badge&label=Stars&logo=github)](https://github.com/apache/skywalking)
[![Twitter Follow](https://img.shields.io/twitter/follow/asfskywalking.svg?style=for-the-badge&label=Follow&logo=twitter)](https://twitter.com/AsfSkyWalking)

SkyWalking Kubernetes repository provides ways to install and configure skywalking in a Kubernetes cluster.
The scripts are written in Helm3.
G
Gao Hongtao 已提交
11

wu-sheng's avatar
wu-sheng 已提交
12
## Documentation
G
Gao Hongtao 已提交
13
#### Deploy SkyWalking and Elasticsearch 7 (default)
wu-sheng's avatar
wu-sheng 已提交
14 15 16 17

```shell script
$ cd chart

G
Gao Hongtao 已提交
18
$ helm repo add elastic https://helm.elastic.co
wu-sheng's avatar
wu-sheng 已提交
19

J
JaredTan95 已提交
20
$ helm dep up skywalking
wu-sheng's avatar
wu-sheng 已提交
21 22

$ helm install <release_name> skywalking -n <namespace>
G
Gao Hongtao 已提交
23 24 25 26 27 28 29 30
``` 

**Note**: If you want to deploy Elasticsearch 6, execute the following command

```shell script
$ helm dep up skywalking

$ helm install <release_name> skywalking -n <namespace> --values ./skywalking/values-es6.yaml
wu-sheng's avatar
wu-sheng 已提交
31 32 33 34 35 36 37 38 39 40
```

#### Only deploy SkyWalking ,and use existing Elasticsearch
If not want to deploy a new elasticsearch cluster, this way can be solved.

Only need to close the elasticsearch deployed by chart default and configure the existing elasticsearch connection method.

```shell script
$ cd chart

G
Gao Hongtao 已提交
41 42 43
$ helm repo add elastic https://helm.elastic.co

$ helm dep up skywalking
wu-sheng's avatar
wu-sheng 已提交
44

G
Gao Hongtao 已提交
45 46 47 48 49 50 51 52 53
$ helm install <release_name> skywalking -n <namespace> \
        --set elasticsearch.enabled=false \
        --set elasticsearch.config.host=<es_host> \
        --set elasticsearch.config.port.http=<es_port>
```

**Note**: You need to make sure your ES cluster version is 7.x , If your cluster version is 6.x, execute the following command

```shell script
J
JaredTan95 已提交
54
$ helm dep up skywalking
wu-sheng's avatar
wu-sheng 已提交
55 56

$ helm install <release_name> skywalking -n <namespace> \
G
Gao Hongtao 已提交
57
        --values ./skywalking/values-es6.yaml
wu-sheng's avatar
wu-sheng 已提交
58 59 60 61 62
        --set elasticsearch.enabled=false \
        --set elasticsearch.config.host=<es_host> \
        --set elasticsearch.config.port.http=<es_port>
```

G
Gao Hongtao 已提交
63
## Structure of repository
G
Gao Hongtao 已提交
64

G
Gao Hongtao 已提交
65
### helm-chart 
G
Gao Hongtao 已提交
66

I
innerpeacez 已提交
67 68
This is recommended as the best practice to deploy SkyWalking backend stack into kubernetes cluster. 

wu-sheng's avatar
wu-sheng 已提交
69 70 71 72
#### release chart table 
| SkyWalking version | Chart version |
| ------------------ | ------------- |
| 6.5.0              | 1.0.0         |
G
Gao Hongtao 已提交
73
| 6.6.0              | 1.1.0         | 
wu-sheng's avatar
wu-sheng 已提交
74

wu-sheng's avatar
wu-sheng 已提交
75 76 77
Please head to the [releases page](http://skywalking.apache.org/downloads/) to download a release of Apache SkyWalking.

Note:  The source code for the release chart matches the git tag.
wu-sheng's avatar
wu-sheng 已提交
78

I
innerpeacez 已提交
79 80 81 82 83 84 85 86 87 88 89
#### old chart position table

| SkyWalking version | Chart position                                               |
| ------------------ | ------------------------------------------------------------ |
| 6.0.0-GA           | [6.0.0-GA](https://github.com/apache/skywalking-kubernetes/tree/legacy-helm-chart/helm-chart/helm2/6.0.0-GA) |
| 6.1.0              | [6.1.0](https://github.com/apache/skywalking-kubernetes/tree/legacy-helm-chart/helm-chart/helm2/6.1.0) |
| 6.3.0              | [6.3.0](https://github.com/apache/skywalking-kubernetes/tree/legacy-helm-chart/helm-chart/helm3/6.3.0) |
| 6.4.0              | [6.4.0](https://github.com/apache/skywalking-kubernetes/tree/legacy-helm-chart/helm-chart/helm3/6.4.0) |

Note:  The source code for old charts are in the **legacy-helm-chart** branch.

wu-sheng's avatar
wu-sheng 已提交
90 91 92 93 94 95
# Contact Us
* Submit an [issue](https://github.com/apache/skywalking/issues)
* Mail list: **dev@skywalking.apache.org**. Mail to `dev-subscribe@skywalking.apache.org`, follow the reply to subscribe the mail list.
* Join `skywalking` channel at [Apache Slack](https://join.slack.com/t/the-asf/shared_invite/enQtNzc2ODE3MjI1MDk1LTAyZGJmNTg1NWZhNmVmOWZjMjA2MGUyOGY4MjE5ZGUwOTQxY2Q3MDBmNTM5YTllNGU4M2QyMzQ4M2U4ZjQ5YmY). If the link is not working, find the latest one at [Apache INFRA WIKI](https://cwiki.apache.org/confluence/display/INFRA/Slack+Guest+Invites).
* QQ Group: 392443393(2000/2000, not available), 901167865(available)

wu-sheng's avatar
wu-sheng 已提交
96 97
# LICENSE
Apache 2.0