README.md 1021 字节
Newer Older
G
Gao Hongtao 已提交
1 2 3 4
Apache SkyWalking Kubernetes
==========

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

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

## Prerequisites

Please promise the `skywalking` namespace existed in the cluster, otherwise, create a new one.

R
ryan 已提交
12
`kubectl apply -f namespace.yml`
G
Gao Hongtao 已提交
13 14 15

## Deploy Elasticsearch

G
gaohongtao 已提交
16
Use `kubectl apply -f ` with the scripts in `elasticsearch` to deploy elasticsearch servers
G
Gao Hongtao 已提交
17 18 19 20 21 22 23
in the cluster.

> `01-storageclass.yml` assume to use GKE as the kubernetes provisioner. You could fix it according
to your kubernetes environment.

## Deploy OAP server 

wu-sheng's avatar
wu-sheng 已提交
24
Use `kubectl apply -f ` with the scripts in `oap` to deploy oap server
G
Gao Hongtao 已提交
25 26 27 28
in the cluster.

## Deploy UI server 

G
gaohongtao 已提交
29
Use `kubectl apply -f ` with the scripts in `ui` to deploy oap server
G
Gao Hongtao 已提交
30 31
in the cluster.

G
Gao Hongtao 已提交
32 33 34 35 36 37 38
# Setup Istio to send metric to oap

## Prerequisites

Istio should be installed in kubernetes cluster.

## Setup Istio to send metric to oap
G
Gao Hongtao 已提交
39

G
gaohongtao 已提交
40
Use `kubectl apply -f ` with the scripts in `istio` to setup.