You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
with shared storage and network resources, and a specification
30
-
for how to run the containers. A Pod's contents are always co-located and
28
+
{{< glossary_tooltip text="containers" term_id="container" >}}, with shared storage and network resources, and a specification for how to run the containers. A Pod's contents are always co-located and
31
29
co-scheduled, and run in a shared context. A Pod models an
32
30
application-specific "logical host": it contains one or more application
33
31
containers which are relatively tightly coupled.
@@ -218,8 +216,8 @@ that updates those files from a remote source, as in the following diagram:
On Nodes, the {{< glossary_tooltip term_id="kubelet" text="kubelet" >}} does not
@@ -434,7 +440,7 @@ Kubernetes 并不禁止你直接管理 Pod。对运行中的 Pod 的某些字段
434
440
## Resource sharing and communication
435
441
436
442
Pods enable data sharing and communication among their constituent
437
-
containters.
443
+
containers.
438
444
-->
439
445
### 资源共享和通信 {#resource-sharing-and-communication}
440
446
@@ -481,14 +487,13 @@ Within a Pod, containers share an IP address and port space, and
481
487
can find each other via `localhost`. The containers in a Pod can also communicate
482
488
with each other using standard inter-process communications like SystemV semaphores
483
489
or POSIX shared memory. Containers in different Pods have distinct IP addresses
484
-
and can not communicate by IPC without
485
490
and can not communicate by OS-level IPC without special configuration.
486
491
Containers that want to interact with a container running in a different Pod can
487
492
use IP networking to communicate.
488
493
-->
489
494
在同一个 Pod 内,所有容器共享一个 IP 地址和端口空间,并且可以通过 `localhost` 发现对方。
490
495
他们也能通过如 SystemV 信号量或 POSIX 共享内存这类标准的进程间通信方式互相通信。
491
-
不同 Pod 中的容器的 IP 地址互不相同,没有特殊配置,无法通过 OS 级 IPC 进行通信就不能使用 IPC 进行通信。
496
+
不同 Pod 中的容器的 IP 地址互不相同,如果没有特殊配置,就无法通过 OS 级 IPC 进行通信。
492
497
如果某容器希望与运行于其他 Pod 中的容器通信,可以通过 IP 联网的方式实现。
493
498
494
499
<!--
@@ -609,7 +614,7 @@ in the Pod Lifecycle documentation.
609
614
The {{< api-reference page="workload-resources/pod-v1" >}}
610
615
object definition describes the object in detail.
611
616
* [The Distributed System Toolkit: Patterns for Composite Containers](/blog/2015/06/the-distributed-system-toolkit-patterns/) explains common layouts for Pods with more than one container.
612
-
* Read about [Pod topology spread constraints](/docs/concepts/scheduling-eviction/topology-spread-constraints//).
617
+
* Read about [Pod topology spread constraints](/docs/concepts/scheduling-eviction/topology-spread-constraints/).
To understand the context for why Kubernetes wraps a common Pod API in other resources (such as {{< glossary_tooltip text="StatefulSets" term_id="statefulset" >}} or {{< glossary_tooltip text="Deployments" term_id="deployment" >}}), you can read about the prior art, including:
0 commit comments