Skip to content

Commit cfad702

Browse files
committed
Sycn change from EN(PR 25418)
1 parent 4e90fc3 commit cfad702

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

content/zh/docs/concepts/cluster-administration/networking.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,16 +95,16 @@ to containers. If your job previously ran in a VM, your VM had an IP and could
9595
talk to other VMs in your project. This is the same basic model.
9696
9797
Kubernetes IP addresses exist at the `Pod` scope - containers within a `Pod`
98-
share their network namespaces - including their IP address. This means that
99-
containers within a `Pod` can all reach each other's ports on `localhost`. This
100-
also means that containers within a `Pod` must coordinate port usage, but this
101-
is no different from processes in a VM. This is called the "IP-per-pod" model.
98+
share their network namespaces - including their IP address and MAC address.
99+
This means that containers within a `Pod` can all reach each other's ports on
100+
`localhost`. This also means that containers within a `Pod` must coordinate port
101+
usage, but this is no different from processes in a VM. This is called the
102102
-->
103103
这个模型不仅不复杂,而且还和 Kubernetes 的实现廉价的从虚拟机向容器迁移的初衷相兼容,
104104
如果你的工作开始是在虚拟机中运行的,你的虚拟机有一个 IP ,
105105
这样就可以和其他的虚拟机进行通信,这是基本相同的模型。
106106

107-
Kubernetes 的 IP 地址存在于 `Pod` 范围内 - 容器分享它们的网络命名空间 - 包括它们的 IP 地址。
107+
Kubernetes 的 IP 地址存在于 `Pod` 范围内 - 容器共享它们的网络命名空间 - 包括它们的 IP 地址和 MAC 地址。
108108
这就意味着 `Pod` 内的容器都可以通过 `localhost` 到达各个端口。
109109
这也意味着 `Pod` 内的容器都需要相互协调端口的使用,但是这和虚拟机中的进程似乎没有什么不同,
110110
这也被称为“一个 Pod 一个 IP” 模型。

0 commit comments

Comments
 (0)