Skip to content
This repository has been archived by the owner on Feb 7, 2021. It is now read-only.

更新配置文件模板 #271

Merged
merged 1 commit into from
Sep 20, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions install/ref_configs.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ Envoy 的配置开始变得越发复杂。 在 Lyft 我们用 [jinja](http://jin
我们同时为上述的三种场景都准备了相应的范例配置模版。

- 脚本生成器: [configs/configgen.py](https://github.com/envoyproxy/envoy/blob/master/configs/configgen.py)
- 服务间模版: [configs/envoy_service_to_service.template.json](https://github.com/envoyproxy/envoy/blob/master/configs/envoy_service_to_service.template.json)
- 前端代理模版: [configs/envoy_front_proxy.template.json](https://github.com/envoyproxy/envoy/blob/master/configs/envoy_front_proxy.template.json)
- 双向代理模版: [configs/envoy_double_proxy.template.json](https://github.com/envoyproxy/envoy/blob/master/configs/envoy_double_proxy.template.json)
- 服务间模版: [configs/envoy_service_to_service.template.json](https://github.com/envoyproxy/envoy/blob/master/configs/envoy_service_to_service_v2.template.yaml)
- 前端代理模版: [configs/envoy_front_proxy.template.json](https://github.com/envoyproxy/envoy/blob/master/configs/envoy_front_proxy_v2.template.yaml)
- 双向代理模版: [configs/envoy_double_proxy.template.json](https://github.com/envoyproxy/envoy/blob/master/configs/envoy_double_proxy_v2.template.yaml)

可以从 repo 的根目录运行以下命令以生成相关的范例配置:

Expand All @@ -37,4 +37,4 @@ tar xvf $PWD/bazel-genfiles/configs/example_configs.tar -C generated/configs
- 为 [LightStep](http://lightstep.com/) 而配置的追踪。 为了禁止或启用 Zipkin <http://zipkin.io> 追踪,而删除或改变相应的[追踪配置](https://www.envoyproxy.io/docs/envoy/latest/api-v1/tracing#config-tracing-v1) 。
- 用于演示如何使用[全局速率限制服务](../intro/arch_overview/global_rate_limiting.md#arch-overview-rate-limit)的示例配置。 可以通过删除[速率限制配置](../configuration/rate_limit.md#config-rate-limit-service)以禁用此服务。
- 为服务间参考配置而设定的[路由发现服务](../configuration/http_conn_man/rds.md#config-http-conn-man-rds),此服务假定运行在 rds.yourcompany.net 上。
- 为服务间参考配置而设定的[集群发现服务](../configuration/cluster_manager/cds.md#config-cluster-manager-cds),此服务假定运行在 cds.yourcompany.net 上。
- 为服务间参考配置而设定的[集群发现服务](../configuration/cluster_manager/cds.md#config-cluster-manager-cds),此服务假定运行在 cds.yourcompany.net 上。