clarify sidecar doc (#10587)

* clarify sidecar doc

* fix zh doc

* fix doc
This commit is contained in:
zirain 2021-12-09 17:25:21 +08:00 committed by GitHub
parent 1fc248fae2
commit 3a2d06517e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -596,8 +596,8 @@ You can specify that you want a sidecar configuration to apply to all workloads
in a particular namespace, or choose specific workloads using a
`workloadSelector`. For example, the following sidecar configuration configures
all services in the `bookinfo` namespace to only reach services running in the
same namespace and the Istio control plane (currently needed to use Istios
policy and telemetry features):
same namespace and the Istio control plane (needed by Istios
egress and telemetry features):
{{< text yaml >}}
apiVersion: networking.istio.io/v1alpha3

View File

@ -375,7 +375,7 @@ spec:
您可能希望在较庞大的应用程序中限制这样的 sidecar 可达性,配置每个代理能访问网格中的任意服务可能会因为高内存使用量而影响网格的性能。
您可以指定将 sidecar 配置应用于特定命名空间中的所有工作负载,或者使用 `workloadSelector` 选择特定的工作负载。例如,下面的 sidecar 配置将 `bookinfo` 命名空间中的所有服务配置为仅能访问运行在相同命名空间和 Istio 控制平面中的服务(目前需要使用 Istio 的策略和遥测功能
您可以指定将 sidecar 配置应用于特定命名空间中的所有工作负载,或者使用 `workloadSelector` 选择特定的工作负载。例如,下面的 sidecar 配置将 `bookinfo` 命名空间中的所有服务配置为仅能访问运行在相同命名空间和 Istio 控制平面中的服务(Istio 的egress和遥测功能需要使用
{{< text yaml >}}
apiVersion: networking.istio.io/v1alpha3