Skip to content

Commit 20f48be

Browse files
authored
Merge pull request #47308 from windsonsea/podsyh
[zh] Sync workloads/pods/_index.md
2 parents c208b81 + 78938e2 commit 20f48be

File tree

1 file changed

+8
-8
lines changed
  • content/zh-cn/docs/concepts/workloads/pods

1 file changed

+8
-8
lines changed

content/zh-cn/docs/concepts/workloads/pods/_index.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ A _Pod_ (as in a pod of whales or pea pod) is a group of one or more
2929
and a specification for how to run the containers. A Pod's contents are always co-located and
3030
co-scheduled, and run in a shared context. A Pod models an
3131
application-specific "logical host": it contains one or more application
32-
containers which are relatively tightly coupled.
32+
containers which are relatively tightly coupled.
3333
In non-cloud contexts, applications executed on the same physical or virtual machine are
3434
analogous to cloud applications executed on the same logical host.
3535
-->
3636
**Pod** 是可以在 Kubernetes 中创建和管理的、最小的可部署的计算单元。
3737

3838
**Pod**(就像在鲸鱼荚或者豌豆荚中)是一组(一个或多个)
3939
{{< glossary_tooltip text="容器" term_id="container" >}};
40-
这些容器共享存储、网络、以及怎样运行这些容器的声明
40+
这些容器共享存储、网络、以及怎样运行这些容器的规约
4141
Pod 中的内容总是并置(colocated)的并且一同调度,在共享的上下文中运行。
4242
Pod 所建模的是特定于应用的 “逻辑主机”,其中包含一个或多个应用容器,
4343
这些容器相对紧密地耦合在一起。
@@ -246,11 +246,11 @@ Kubernetes. In the future, this list may be expanded.
246246
247247
In Kubernetes v{{< skew currentVersion >}}, the value of `.spec.os.name` does not affect
248248
how the {{< glossary_tooltip text="kube-scheduler" term_id="kube-scheduler" >}}
249-
picks a Pod to run a node. In any cluster where there is more than one operating system for
249+
picks a node for the Pod to run on. In any cluster where there is more than one operating system for
250250
running nodes, you should set the
251251
[kubernetes.io/os](/docs/reference/labels-annotations-taints/#kubernetes-io-os)
252252
label correctly on each node, and define pods with a `nodeSelector` based on the operating system
253-
label, the kube-scheduler assigns your pod to a node based on other criteria and may or may not
253+
label. The kube-scheduler assigns your pod to a node based on other criteria and may or may not
254254
succeed in picking a suitable node placement where the node OS is right for the containers in that Pod.
255255
The [Pod security standards](/docs/concepts/security/pod-security-standards/) also use this
256256
field to avoid enforcing policies that aren't relevant to the operating system.
@@ -259,8 +259,8 @@ field to avoid enforcing policies that aren't relevant to the operating system.
259259
这两个是 Kubernetes 目前支持的操作系统。将来,这个列表可能会被扩充。
260260

261261
在 Kubernetes v{{< skew currentVersion >}} 中,`.spec.os.name` 的值对
262-
{{< glossary_tooltip text="kube-scheduler" term_id="kube-scheduler" >}} 如何调度 Pod 到节点上没有影响。
263-
在任何有多种操作系统运行节点的集群中,你应该在每个节点上正确设置
262+
{{< glossary_tooltip text="kube-scheduler" term_id="kube-scheduler" >}}
263+
如何选择要运行 Pod 的节点没有影响。在任何有多种操作系统运行节点的集群中,你应该在每个节点上正确设置
264264
[kubernetes.io/os](/zh-cn/docs/reference/labels-annotations-taints/#kubernetes-io-os)
265265
标签,并根据操作系统标签为 Pod 设置 `nodeSelector` 字段。
266266
kube-scheduler 将根据其他标准将你的 Pod 分配到节点,
@@ -305,7 +305,7 @@ PodTemplates are specifications for creating Pods, and are included in workload
305305
### Pod 模板 {#pod-templates}
306306

307307
{{< glossary_tooltip text="工作负载" term_id="workload" >}}资源的控制器通常使用
308-
**Pod 模板(Pod Template)**来替你创建 Pod 并管理它们。
308+
**Pod 模板(Pod Template)** 来替你创建 Pod 并管理它们。
309309

310310
Pod 模板是包含在工作负载对象中的规范,用来创建 Pod。这类负载资源包括
311311
[Deployment](/zh-cn/docs/concepts/workloads/controllers/deployment/)
@@ -581,7 +581,7 @@ Pods, the kubelet directly supervises each static Pod (and restarts it if it fai
581581
-->
582582
## 静态 Pod {#static-pods}
583583

584-
**静态 Pod(Static Pod)**直接由特定节点上的 `kubelet` 守护进程管理,
584+
**静态 Pod(Static Pod)** 直接由特定节点上的 `kubelet` 守护进程管理,
585585
不需要 {{< glossary_tooltip text="API 服务器" term_id="kube-apiserver" >}}看到它们。
586586
尽管大多数 Pod 都是通过控制面(例如,{{< glossary_tooltip text="Deployment" term_id="deployment" >}})
587587
来管理的,对于静态 Pod 而言,`kubelet` 直接监控每个 Pod,并在其失效时重启之。

0 commit comments

Comments
 (0)