Merge pull request #2285 from Patrick-LuoYu/update-observability-faq

Update YAML configuration in Documentation/FAQ/Observability FAQ/Logging.
This commit is contained in:
KubeSphere CI Bot 2022-03-09 22:45:13 +08:00 committed by GitHub
commit fdff5cf783
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ If you are using the KubeSphere internal Elasticsearch and want to change it to
kubectl edit cc -n kubesphere-system ks-installer
```
2. Comment out `es.elasticsearchDataXXX`, `es.elasticsearchMasterXXX` and `status.logging`, and set `es.externalElasticsearchHost` to the address of your Elasticsearch and `es.externalElasticsearchPort` to its port number. Below is an example for your reference.
2. Comment out `es.elasticsearchDataXXX`, `es.elasticsearchMasterXXX` and `status.logging`, and set `es.externalElasticsearchUrl` to the address of your Elasticsearch and `es.externalElasticsearchPort` to its port number. Below is an example for your reference.
```yaml
apiVersion: installer.kubesphere.io/v1alpha1
@ -46,7 +46,7 @@ If you are using the KubeSphere internal Elasticsearch and want to change it to
# elasticsearchMasterVolumeSize: 4Gi
elkPrefix: logstash
logMaxAge: 7
externalElasticsearchHost: <192.168.0.2>
externalElasticsearchUrl: <192.168.0.2>
externalElasticsearchPort: <9200>
...
status: