zh-translation:docs/root/configuration/overview/bootstrap.rst - #388
Merged
Conversation
scilla0531
reviewed
Dec 8, 2020
| provides static server configuration and configures Envoy to access :ref:`dynamic | ||
| configuration if needed <arch_overview_dynamic_config>`. This is supplied on the command-line via | ||
| the :option:`-c` flag, i.e.: | ||
| 为了使用 xDS API,必须提供一份 bootstrap 配置文件。这能够提供静态服务器配置且可配置 Envoy 来访问 :ref:`动态配置(如有需要) <arch_overview_dynamic_config>` 。在命令行中可以通过选项 `-c` 来提供,例如: |
There was a problem hiding this comment.
要使用 xDS API,需要提供一个 bootstrap 配置文件。它提供了静态的服务器配置,并配置 Envoy 访问 :ref:动态配置(如有需要) <arch_overview_dynamic_config> 。//这样感觉更顺畅一点,技术性文章中是不是短句易读性更好一点?后面一句做了个断句
| an xDS service such as :ref:`LDS | ||
| <config_listeners_lds>` or :ref:`CDS <config_cluster_manager_cds>` configured in | ||
| :ref:`dynamic_resources <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.dynamic_resources>`. | ||
| :ref:`Bootstrap <envoy_v3_api_msg_config.bootstrap.v3.Bootstrap>` 消息是配置的根。在 :ref:`Bootstrap <envoy_v3_api_msg_config.bootstrap.v3.Bootstrap>` 消息中有一个重要的概念就是静态和动态资源之间的区别。比如 :ref:`监听器 <envoy_v3_api_msg_config.listener.v3.Listener>` 或 :ref:`集群 <envoy_v3_api_msg_config.cluster.v3.Cluster>` 之类的资源或在 :ref:`static_resources <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.static_resources>` 中静态提供,或由配置在 :ref:`dynamic_resources <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.dynamic_resources>` 中的诸如 :ref:`LDS <config_listeners_lds>` 或 :ref:`CDS <config_cluster_manager_cds>` 之类的 xDS 服务提供。 |
There was a problem hiding this comment.
比如 :ref:监听器 <envoy_v3_api_msg_config.listener.v3.Listener> 或 :ref:集群 <envoy_v3_api_msg_config.cluster.v3.Cluster> 之类的资源可以在 :ref:static_resources <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.static_resources> 中静态提供,
Author
There was a problem hiding this comment.
这个有个 either or,原意应该是 静态或者动态都能提供这种资源,但是提供的方式不同。
Author
|
@scilla0531 参考修改了一下。 |
scilla0531
approved these changes
Dec 9, 2020
addozhang
self-requested a review
December 9, 2020 09:53
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
issue: #276