zh translation: faq/applications/elasticsearch.md (#9252)

Signed-off-by: zc <ce.zheng@daocloud.io>

Co-authored-by: zc <ce.zheng@daocloud.io>
This commit is contained in:
zc 2021-03-16 12:03:30 +08:00 committed by GitHub
parent 6e1b62efb2
commit 53b4b70f58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
---
title: 我在 Istio 网格中运行 Elasticsearch 吗?
title: 我可以在 Istio 网格中运行 Elasticsearch 吗?
description: 在 Istio 中运行 Elasticsearch 需要的配置
weight: 50
keywords: [elasticsearch]
@ -7,7 +7,7 @@ keywords: [elasticsearch]
在 Istio 中运行 Elasticsearch有两个 Elasticsearch 配置参数需要被正确设置:`network.bind_host` 和 `network.publish_host`。默认情况下,这些参数值被设置成 `network.host` 参数。如果 `network.host` 被设置成 `0.0.0.0`Elasticsearch 很可能选择 pod IP 作为发布地址并且不需要更进一步的配置。
如果默认配置没有生效,你可以将 `network.bind_host` 设置为 `0.0.0.0` `localhost` (`127.0.0.1`) 并将 `network.publish_host` 设置为 pod IP例如
如果默认配置没有生效,你可以将 `network.bind_host` 设置为 `0.0.0.0` 并将 `network.publish_host` 设置为 pod IP例如
{{< text yaml >}}
...
@ -24,4 +24,4 @@ containers:
...
{{< /text >}}
了解更多信息请查看 [Elasticsearch 网络设置](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-network.html#modules-network)。
了解更多信息请查看 [Elasticsearch 网络设置](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-network.html#modules-network)