Skip to content

Commit 6575408

Browse files
authored
Merge pull request #35275 from kinzhi/kinzhi170
[zh-cn]Update content/zh-cn/docs/concepts/windows/user-guide.md
2 parents 55b4cee + 1c8a201 commit 6575408

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

content/zh-cn/docs/concepts/windows/user-guide.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -148,26 +148,26 @@ port 80 of the container directly to the Service.
148148
* Node-to-pod communication across the network, `curl` port 80 of your pod IPs from the Linux control plane node
149149
to check for a web server response
150150
* Pod-to-pod communication, ping between pods (and across hosts, if you have more than one Windows node)
151-
using docker exec or kubectl exec
151+
using `docker exec` or `kubectl exec`
152152
* Service-to-pod communication, `curl` the virtual service IP (seen under `kubectl get services`)
153153
from the Linux control plane node and from individual pods
154154
* Service discovery, `curl` the service name with the Kubernetes [default DNS suffix](/docs/concepts/services-networking/dns-pod-service/#services)
155155
* Inbound connectivity, `curl` the NodePort from the Linux control plane node or machines outside of the cluster
156-
* Outbound connectivity, `curl` external IPs from inside the pod using kubectl exec
156+
* Outbound connectivity, `curl` external IPs from inside the pod using `kubectl exec`
157157
-->
158158
1. 检查部署是否成功。请验证:
159159

160160
* 使用 `kubectl get pods` 从 Linux 控制平面节点能够列出两个 Pod
161161
* 跨网络的节点到 Pod 通信,从 Linux 控制平面节点上执行 `curl` 访问
162162
Pod IP 的 80 端口以检查 Web 服务器响应
163-
* Pod 间通信,使用 docker exec 或 kubectl exec
163+
* Pod 间通信,使用 `docker exec``kubectl exec`
164164
在 Pod 之间(以及跨主机,如果你有多个 Windows 节点)互 ping
165165
* Service 到 Pod 的通信,在 Linux 控制平面节点以及独立的 Pod 中执行 `curl`
166166
访问虚拟的服务 IP(在 `kubectl get services` 下查看)
167167
* 服务发现,使用 Kubernetes [默认 DNS 后缀](/zh-cn/docs/concepts/services-networking/dns-pod-service/#services)的服务名称,
168168
`curl` 访问服务名称
169169
* 入站连接,在 Linux 控制平面节点或集群外的机器上执行 `curl` 来访问 NodePort 服务
170-
* 出站连接,使用 kubectl exec,从 Pod 内部执行 `curl` 访问外部 IP
170+
* 出站连接,使用 `kubectl exec`,从 Pod 内部执行 `curl` 访问外部 IP
171171

172172
{{< note >}}
173173
<!--
@@ -479,4 +479,4 @@ spec:
479479
app: iis-2019
480480
```
481481

482-
[RuntimeClass]: https://kubernetes.io/docs/concepts/containers/runtime-class/
482+
[RuntimeClass]: /zh-cn/docs/concepts/containers/runtime-class/

0 commit comments

Comments
 (0)