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

# Deploy SkyWalking backend to Kubernetes cluster
G
Gao Hongtao 已提交
5 6 7

To install and configure skywalking in a Kubernetes cluster, follow these instructions.

wu-sheng's avatar
wu-sheng 已提交
8 9 10 11 12 13
## Documentation
#### Deploy SkyWalking and Elasticsearch (default)

```shell script
$ cd chart

J
Jared Tan 已提交
14
$ helm repo add stable https://kubernetes-charts.storage.googleapis.com/
wu-sheng's avatar
wu-sheng 已提交
15

J
JaredTan95 已提交
16
$ helm dep up skywalking
wu-sheng's avatar
wu-sheng 已提交
17 18 19 20 21 22 23 24 25 26 27 28

$ helm install <release_name> skywalking -n <namespace>
```

#### 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

J
Jared Tan 已提交
29
$ helm repo add stable https://kubernetes-charts.storage.googleapis.com/
wu-sheng's avatar
wu-sheng 已提交
30

J
JaredTan95 已提交
31
$ helm dep up skywalking
wu-sheng's avatar
wu-sheng 已提交
32 33 34 35 36 37 38

$ helm install <release_name> skywalking -n <namespace> \
        --set elasticsearch.enabled=false \
        --set elasticsearch.config.host=<es_host> \
        --set elasticsearch.config.port.http=<es_port>
```

G
Gao Hongtao 已提交
39
## Structure of repository
G
Gao Hongtao 已提交
40

G
Gao Hongtao 已提交
41
### helm-chart 
G
Gao Hongtao 已提交
42

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

wu-sheng's avatar
wu-sheng 已提交
45 46 47 48 49 50 51
#### release chart table 
| SkyWalking version | Chart version |
| ------------------ | ------------- |
| 6.5.0              | 1.0.0         |

Note:  The source code for the release chart is located in the chart folder in the master branch.

I
innerpeacez 已提交
52 53 54 55 56 57 58 59 60 61 62
#### 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 已提交
63 64
# LICENSE
Apache 2.0