This is an automated email from the ASF dual-hosted git repository. kezhenxu94 pushed a commit to branch doc in repository https://gitbox.apache.org/repos/asf/skywalking-kubernetes.git
commit 803a373863dc34dd9aac39f7a06a656dc1821d7e Author: kezhenxu94 <[email protected]> AuthorDate: Wed May 17 13:31:19 2023 +0800 Polish the doc about how to install specific ES version --- README.md | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0f51325..3802891 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,7 @@ cd skywalking-kubernetes helm -n skywalking-swck-system install operator ${REPO}/operator ``` -## Install a specific version of SkyWalking & Elasticsearch +## Install a specific version of SkyWalking In theory, you can deploy all versions of SkyWalking that are >= 6.0.0-GA, by specifying the desired `oap.image.tag`/`ui.image.tag`. @@ -111,7 +111,7 @@ specify those configurations, they may take no effect. here are some examples. -- Deploy SkyWalking 9.2.0 & Elasticsearch 6.8.6 +- Deploy SkyWalking 9.2.0 ```shell script helm install "${SKYWALKING_RELEASE_NAME}" ${REPO}/skywalking -n "${SKYWALKING_RELEASE_NAMESPACE}" \ @@ -120,6 +120,23 @@ helm install "${SKYWALKING_RELEASE_NAME}" ${REPO}/skywalking -n "${SKYWALKING_RE --set ui.image.tag=9.2.0 ``` +Because ElasticSearch recommends to use the corresponding Helm Chart version of the ElasticSearch version, +if you want to use a specific version of ElasticSearch, you have to change the ElasticSearch Helm Chart version in +`dependencies` section in `Chart.yaml` file, which requires you to install from the source codes. +Or you should deploy the desired ElasticSearch version first by yourself, and then deploy SkyWalking to use the +existing ElasticSearch by setting the following section: + +```yaml +elasticsearch: + enabled: true + config: # For users of an existing elasticsearch cluster,takes effect when `elasticsearch.enabled` is false + port: + http: 9200 + host: elasticsearch # es service on kubernetes or host + user: "xxx" # [optional] + password: "xxx" # [optional] +``` + ## Install development version using ghcr.io Helm repository If you are willing to help testing the latest codes that are not released yet, we provided a snapshot
