2021-03-25 15:47:21
1、下载Charts包
git clone https://github.com/apache/skywalking-kubernetes
cd skywalking-kubernetes/chart
helm repo add elastic https://helm.elastic.co
helm dep up skywalking
2、修改配置文件 skywalking/values-my-es.yaml
oap:
image:
tag: 8.4.0-es7 # Set the right tag according to the existing Elasticsearch version
storageType: elasticsearch7
ui:
image:
tag: 8.4.0
service:
type: NodePort
externalPort: 80
internalPort: 8080
nodePort: 30008
elasticsearch:
enabled: false
config: # For users of an existing elasticsearch cluster,takes effect when `elasticsearch.enabled` is false
host: elasticsearch-client.qjy-efk.svc.cluster.local
port:
http: 9200
user: "elastic" # [optional]
password: "xxxxx" # [optional]
3、执行
kubectl create namespace qjy-apm
helm install skywalking skywalking --namespace qjy-apm -f ./skywalking/values-my-es.yaml