[zh] adjust format in concepts
Signed-off-by: xin.li <xin.li@daocloud.io>pull/33775/head
parent
a3095962e8
commit
e6a8e94366
|
@ -371,7 +371,7 @@ Lars Kellogg-Stedman.
|
|||
|
||||
如果你具有一个“哑”的L2网络,例如“裸机”环境中的简单交换机,则应该能够执行与上述 GCE 设置类似的操作。
|
||||
请注意,这些说明仅是非常简单的尝试过-似乎可行,但尚未经过全面测试。
|
||||
如果您使用此技术并完善了流程,请告诉我们。
|
||||
如果你使用此技术并完善了流程,请告诉我们。
|
||||
|
||||
根据 Lars Kellogg-Stedman 的这份非常不错的“Linux 网桥设备”
|
||||
[使用说明](https://blog.oddbit.com/2014/08/11/four-ways-to-connect-a-docker/)来进行操作。
|
||||
|
|
|
@ -15,7 +15,8 @@ You can visualize and manage Kubernetes objects with more tools than kubectl and
|
|||
the dashboard. A common set of labels allows tools to work interoperably, describing
|
||||
objects in a common manner that all tools can understand.
|
||||
-->
|
||||
除了 kubectl 和 dashboard 之外,您可以使用其他工具来可视化和管理 Kubernetes 对象。一组通用的标签可以让多个工具之间相互操作,用所有工具都能理解的通用方式描述对象。
|
||||
除了 kubectl 和 dashboard 之外,你可以使用其他工具来可视化和管理 Kubernetes 对象。
|
||||
一组通用的标签可以让多个工具之间相互操作,用所有工具都能理解的通用方式描述对象。
|
||||
|
||||
<!--
|
||||
In addition to supporting tooling, the recommended labels describe applications
|
||||
|
@ -259,4 +260,4 @@ metadata:
|
|||
<!--
|
||||
With the MySQL `StatefulSet` and `Service` you'll notice information about both MySQL and Wordpress, the broader application, are included.
|
||||
-->
|
||||
使用 MySQL `StatefulSet` 和 `Service`,您会注意到有关 MySQL 和 Wordpress 的信息,包括更广泛的应用程序。
|
||||
使用 MySQL `StatefulSet` 和 `Service`,你会注意到有关 MySQL 和 Wordpress 的信息,包括更广泛的应用程序。
|
||||
|
|
|
@ -272,7 +272,7 @@ onto nodes labeled with `dedicated=groupName`.
|
|||
然后给这组用户的 Pod 添加一个相对应的 toleration(通过编写一个自定义的
|
||||
[准入控制器](/zh/docs/reference/access-authn-authz/admission-controllers/),很容易就能做到)。
|
||||
拥有上述容忍度的 Pod 就能够被分配到上述专用节点,同时也能够被分配到集群中的其它节点。
|
||||
如果你希望这些 Pod 只能被分配到上述专用节点,那么您还需要给这些专用节点另外添加一个和上述
|
||||
如果你希望这些 Pod 只能被分配到上述专用节点,那么你还需要给这些专用节点另外添加一个和上述
|
||||
污点类似的 label (例如:`dedicated=groupName`),同时 还要在上述准入控制器中给 Pod
|
||||
增加节点亲和性要求上述 Pod 只能被分配到添加了 `dedicated=groupName` 标签的节点上。
|
||||
|
||||
|
|
|
@ -242,7 +242,7 @@ taken into account before selecting the target host). The DaemonSet controller o
|
|||
performs these operations when creating or modifying DaemonSet pods, and no
|
||||
changes are made to the `spec.template` of the DaemonSet.
|
||||
-->
|
||||
`ScheduleDaemonSetPods` 允许您使用默认调度器而不是 DaemonSet 控制器来调度 DaemonSets,
|
||||
`ScheduleDaemonSetPods` 允许你使用默认调度器而不是 DaemonSet 控制器来调度 DaemonSets,
|
||||
方法是将 `NodeAffinity` 条件而不是 `.spec.nodeName` 条件添加到 DaemonSet Pods。
|
||||
默认调度器接下来将 Pod 绑定到目标主机。
|
||||
如果 DaemonSet Pod 的节点亲和性配置已存在,则被替换
|
||||
|
@ -352,7 +352,7 @@ them according to its `updateStrategy`.
|
|||
|
||||
You can [perform a rolling update](/docs/tasks/manage-daemon/update-daemon-set/) on a DaemonSet.
|
||||
-->
|
||||
您可以删除一个 DaemonSet。如果使用 `kubectl` 并指定 `--cascade=orphan` 选项,
|
||||
你可以删除一个 DaemonSet。如果使用 `kubectl` 并指定 `--cascade=orphan` 选项,
|
||||
则 Pod 将被保留在节点上。接下来如果创建使用相同选择算符的新 DaemonSet,
|
||||
新的 DaemonSet 会收养已有的 Pod。
|
||||
如果有 Pod 需要被替换,DaemonSet 会根据其 `updateStrategy` 来替换。
|
||||
|
|
|
@ -94,7 +94,7 @@ returns a successful API response.
|
|||
|
||||
请注意,在创建 Job 或已经执行结束后,仍可以修改其 TTL 周期,例如 Job 的
|
||||
`.spec.ttlSecondsAfterFinished` 字段。
|
||||
但是一旦 Job 变为可被删除状态(当其 TTL 已过期时),即使您通过 API 增加其 TTL
|
||||
但是一旦 Job 变为可被删除状态(当其 TTL 已过期时),即使你通过 API 增加其 TTL
|
||||
时长得到了成功的响应,系统也不保证 Job 将被保留。
|
||||
|
||||
<!--
|
||||
|
|
Loading…
Reference in New Issue