Skip to content

Commit 9d0076e

Browse files
[zh] fix typo in docs/setup docs/tasks (istio#14103)
Signed-off-by: guiyong.ou <[email protected]>
1 parent 4129b7f commit 9d0076e

File tree

9 files changed

+18
-18
lines changed

9 files changed

+18
-18
lines changed

content/zh/docs/setup/platform-setup/k3d/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ k3d 没有像 minikube 这样的内置仪表板 UI。但是您仍然可以设置
9494
kubernetes-dashboard-67bd8fc546-4xfmm 1/1 Running 0 25s
9595
{{< /text >}}
9696

97-
1. 创建 `serviceaccount``clusterrolebinding` 为新创建的集群提供管理员访问权限。
97+
1. 创建 `ServiceAccount``ClusterRoleBinding` 为新创建的集群提供管理员访问权限。
9898

9999
{{< text bash >}}
100100
$ kubectl create serviceaccount -n kubernetes-dashboard admin-user

content/zh/docs/setup/platform-setup/minikube/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ test: no
2828

2929
1. 如果您没有使用默认的驱动,需要配置 minikube 虚拟机驱动。
3030

31-
比如,如果您安装了 KVM 虚拟机,使用如下命令设置 minikube 的 `vm-driver` 配置:
31+
比如,如果您安装了 KVM 虚拟机,使用如下命令设置 minikube 的 `driver` 配置:
3232

3333
{{< text bash >}}
3434
$ minikube config set driver kvm2

content/zh/docs/tasks/observability/distributed-tracing/jaeger/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ $ istioctl dashboard jaeger
4747

4848
{{< boilerplate trace-generation >}}
4949

50-
1. 从仪表盘左边面板的 **Service** 下拉列表中选择 `productpage` 并点击
50+
1. 从仪表盘左边面板的 **Service** 下拉列表中选择 `productpage.default` 并点击
5151
**Find Traces**
5252

5353
{{< image link="./istio-tracing-list.png" caption="Tracing Dashboard" >}}

content/zh/docs/tasks/security/authorization/authz-ingress/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ kube-proxy 并阻止其将流量发送到其他节点,使用 `externalTrafficP
309309
有关更多信息,请参阅[服务源 IP `Type=NodePort`](https://kubernetes.io/zh-cn/docs/tutorials/services/source-ip/#source-ip-for-services-with-type-nodeport)
310310
{{< /warning >}}
311311

312-
使用以下命令更新 Ingress 网关以设置 `externalTrafficPolicyLocal` 以保留 Ingress 网关上的原始客户端源 IP:
312+
使用以下命令更新 Ingress 网关以设置 `externalTrafficPolicy: Local` 以保留 Ingress 网关上的原始客户端源 IP:
313313

314314
{{< tabset category-name="config-api" >}}
315315

@@ -354,7 +354,7 @@ spec:
354354

355355
**何时使用 `ipBlocks``remoteIpBlocks`:** 如果您使用 X-Forwarded-For HTTP 头部
356356
或代理协议来确定原始客户端 IP 地址,则应在 `AuthorizationPolicy` 中使用 `remoteIpBlocks`
357-
如果您使用的是 `externalTrafficPolicyLocal`,那么您的 `AuthorizationPolicy` 中应该使用
357+
如果您使用的是 `externalTrafficPolicy: Local`,那么您的 `AuthorizationPolicy` 中应该使用
358358
`ipBlocks`
359359

360360
| 负载均衡器类型 | 客户端源 IP | `ipBlocks``remoteIpBlocks`

content/zh/docs/tasks/traffic-management/fault-injection/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ test: yes
9393

9494
1. 打开浏览器的 *开发工具* 菜单
9595
1. 打开 *网络* 标签
96-
1. 重新加载 `productpage` 页面。您会看到页面加载实际上用了大约 6 秒。
96+
1. 重新加载 `/productpage` 页面。您会看到页面加载实际上用了大约 6 秒。
9797

9898
## 理解原理{#understanding-what-happened}
9999

content/zh/docs/tasks/traffic-management/ingress/secure-ingress/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ $ export SECURE_INGRESS_PORT=$(kubectl get gtw mygateway -n istio-system -o json
302302

303303
### 为多个主机配置 TLS 入口网关 {#configure-a-TLS-ingress-gateway-for-multiple-hosts}
304304

305-
您可以为多个主机(例如 `httpbin.example.com``helloworld-v1.example.com`)配置入口网关。
305+
您可以为多个主机(例如 `httpbin.example.com``helloworld.example.com`)配置入口网关。
306306
入口网关配置有与每个主机相对应的唯一凭据。
307307

308308
1. 通过删除并使用原始证书和密钥重新创建 Secret 来恢复上一个示例中的 `httpbin` 凭据:
@@ -500,7 +500,7 @@ EOF
500500
您可以扩展网关的定义以支持[双向 TLS](https://en.wikipedia.org/wiki/Mutual_authentication)
501501

502502
1. 通过删除其 Secret 并创建一个新的来更改入口网关的凭据。服务器使用 CA
503-
证书来验证其客户端,我们必须使用名称 `cacert` 来持有 CA 证书。
503+
证书来验证其客户端,我们必须使用名称 `ca.crt` 来持有 CA 证书。
504504

505505
{{< text bash >}}
506506
$ kubectl -n istio-system delete secret httpbin-credential

content/zh/docs/tasks/traffic-management/locality-load-balancing/before-you-begin/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ $ kubectl apply --context="${CTX_R3_Z4}" -n sample \
126126
-f helloworld-region3.zone4.yaml
127127
{{< /text >}}
128128

129-
## 部署 `sleep` {#deploy-sleep}
129+
## 部署 `Sleep` {#deploy-sleep}
130130

131131
部署 `Sleep` 应用到 `region1` `zone1`
132132

@@ -135,7 +135,7 @@ $ kubectl apply --context="${CTX_R1_Z1}" \
135135
-f @samples/sleep/sleep.yaml@ -n sample
136136
{{< /text >}}
137137

138-
## 等待 `helloWorld` Pod {#wait-for-helloworld-pods}
138+
## 等待 `HelloWorld` Pod {#wait-for-helloworld-pods}
139139

140140
等到 `HelloWorld` 在每个区域的 Pod 都为 `Running`
141141

content/zh/docs/tasks/traffic-management/locality-load-balancing/distribute/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ owner: istio/wg-networking-maintainers
1212

1313
在继续之前,请确保完成[开始之前](/zh/docs/tasks/traffic-management/locality-load-balancing/before-you-begin)这一节所包含的步骤。
1414

15-
在这个任务中,您将使用 `region1` `zone1` 中的 `sleep` Pod 作为 `HelloWorld` 服务的请求源。
15+
在这个任务中,您将使用 `region1` `zone1` 中的 `Sleep` Pod 作为 `HelloWorld` 服务的请求源。
1616
您将使用以下分布在不同的地域配置Istio:
1717

1818
地区 | 区域 | 流量(%)
@@ -60,7 +60,7 @@ EOF
6060

6161
## 验证分布 {#verify-the-distribution}
6262

63-
`sleep` Pod 调用 `HelloWorld` 服务:
63+
`Sleep` Pod 调用 `HelloWorld` 服务:
6464

6565
{{< text bash >}}
6666
$ kubectl exec --context="${CTX_R1_Z1}" -n sample -c sleep \

content/zh/docs/tasks/traffic-management/locality-load-balancing/failover/index.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ owner: istio/wg-networking-maintainers
1313
在开始之前,一定要完成[开始之前](/zh/docs/tasks/traffic-management/locality-load-balancing/before-you-begin)
1414
这一节包含的步骤。
1515

16-
在此任务中,您将使用 `sleep` Pod 在 `region1.zone1` 作为请求源发送到 `HelloWorld` 服务。
16+
在此任务中,您将使用 `Sleep` Pod 在 `region1.zone1` 作为请求源发送到 `HelloWorld` 服务。
1717
然后,您将触发故障,这些故障将按照以下顺序导致不同地域之间的故障转移:
1818

1919
{{< image width="75%"
@@ -22,7 +22,7 @@ owner: istio/wg-networking-maintainers
2222
>}}
2323

2424
在内部,[Envoy 优先级](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/upstream/load_balancing/priority.html)
25-
用于控制故障转移。这些优先级将按照以下方式分配来自 `sleep` Pod(在 `region1` `zone1`)的流量:
25+
用于控制故障转移。这些优先级将按照以下方式分配来自 `Sleep` Pod(在 `region1` `zone1`)的流量:
2626

2727
优先级 | 地域 | 细节
2828
-------- | -------- | -------
@@ -76,7 +76,7 @@ EOF
7676

7777
## 验证流量保持在 `region1.zone1` {#verify-traffic-stays-in-region1zone1}
7878

79-
`sleep` Pod 调用 `HelloWorld` 服务:
79+
`Sleep` Pod 调用 `HelloWorld` 服务:
8080

8181
{{< text bash >}}
8282
$ kubectl exec --context="${CTX_R1_Z1}" -n sample -c sleep \
@@ -102,7 +102,7 @@ $ kubectl --context="${CTX_R1_Z1}" exec \
102102
-n sample -c istio-proxy -- curl -sSL -X POST 127.0.0.1:15000/drain_listeners
103103
{{< /text >}}
104104

105-
`sleep` Pod 调用 `HelloWorld` 服务:
105+
`Sleep` Pod 调用 `HelloWorld` 服务:
106106

107107
{{< text bash >}}
108108
$ kubectl exec --context="${CTX_R1_Z1}" -n sample -c sleep \
@@ -125,7 +125,7 @@ $ kubectl --context="${CTX_R1_Z2}" exec \
125125
-n sample -c istio-proxy -- curl -sSL -X POST 127.0.0.1:15000/drain_listeners
126126
{{< /text >}}
127127

128-
`sleep` Pod 调用 `HelloWorld` 服务:
128+
`Sleep` Pod 调用 `HelloWorld` 服务:
129129

130130
{{< text bash >}}
131131
$ kubectl exec --context="${CTX_R1_Z1}" -n sample -c sleep \
@@ -148,7 +148,7 @@ $ kubectl --context="${CTX_R2_Z3}" exec \
148148
-n sample -c istio-proxy -- curl -sSL -X POST 127.0.0.1:15000/drain_listeners
149149
{{< /text >}}
150150

151-
`sleep` Pod 调用 `HelloWorld` 服务:
151+
`Sleep` Pod 调用 `HelloWorld` 服务:
152152

153153
{{< text bash >}}
154154
$ kubectl exec --context="${CTX_R1_Z1}" -n sample -c sleep \

0 commit comments

Comments
 (0)