pod-topology-spread links - Language zh (#19972)
* Language zh
- fix link for pod-topology-spread
- markdown lint by vscode plugin
* fix title markdown
This commit is contained in:
@@ -5,13 +5,14 @@ weight: 50
|
|||||||
---
|
---
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
---
|
|
||||||
title: Pod Topology Spread Constraints
|
title: Pod Topology Spread Constraints
|
||||||
content_template: templates/concept
|
content_template: templates/concept
|
||||||
weight: 50
|
weight: 50
|
||||||
---
|
|
||||||
-->
|
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
-->
|
||||||
|
|
||||||
{{% capture overview %}}
|
{{% capture overview %}}
|
||||||
|
|
||||||
@@ -21,7 +22,7 @@ weight: 50
|
|||||||
You can use _topology spread constraints_ to control how {{< glossary_tooltip text="Pods" term_id="Pod" >}} are spread across your cluster among failure-domains such as regions, zones, nodes, and other user-defined topology domains. This can help to achieve high availability as well as efficient resource utilization.
|
You can use _topology spread constraints_ to control how {{< glossary_tooltip text="Pods" term_id="Pod" >}} are spread across your cluster among failure-domains such as regions, zones, nodes, and other user-defined topology domains. This can help to achieve high availability as well as efficient resource utilization.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
可以使用_拓扑扩展约束_来控制 {{< glossary_tooltip text="Pods" term_id="Pod" >}} 在集群内故障域(例如地区,区域,节点和其他用户自定义拓扑域)之间的分布。这可以帮助实现高可用以及提升资源利用率。
|
可以使用*拓扑扩展约束*来控制 {{< glossary_tooltip text="Pods" term_id="Pod" >}} 在集群内故障域(例如地区,区域,节点和其他用户自定义拓扑域)之间的分布。这可以帮助实现高可用以及提升资源利用率。
|
||||||
|
|
||||||
{{% /capture %}}
|
{{% /capture %}}
|
||||||
|
|
||||||
@@ -326,8 +327,7 @@ There are some implicit conventions worth noting here:
|
|||||||
Suppose you have a 5-node cluster ranging from zoneA to zoneC:
|
Suppose you have a 5-node cluster ranging from zoneA to zoneC:
|
||||||
-->
|
-->
|
||||||
|
|
||||||
假设有一个从 zonea 到 zonec 的 5 节点集群:
|
假设有一个从 zonea 到 zonec 的 5 节点集群:
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
+---------------+---------------+-------+
|
+---------------+---------------+-------+
|
||||||
@@ -343,7 +343,7 @@ There are some implicit conventions worth noting here:
|
|||||||
and you know that "zoneC" must be excluded. In this case, you can compose the yaml as below, so that "mypod" will be placed onto "zoneB" instead of "zoneC". Similarly `spec.nodeSelector` is also respected.
|
and you know that "zoneC" must be excluded. In this case, you can compose the yaml as below, so that "mypod" will be placed onto "zoneB" instead of "zoneC". Similarly `spec.nodeSelector` is also respected.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
你知道 "zoneC" 必须被排除在外。在这种情况下,可以按如下方式编写 yaml,以便将 "mypod" 放置在 "zoneB" 上,而不是 "zoneC" 上。同样,`spec.nodeSelector` 也要一样处理。
|
你知道 "zoneC" 必须被排除在外。在这种情况下,可以按如下方式编写 yaml,以便将 "mypod" 放置在 "zoneB" 上,而不是 "zoneC" 上。同样,`spec.nodeSelector` 也要一样处理。
|
||||||
|
|
||||||
{{< codenew file="pods/topology-spread-constraints/one-constraint-with-nodeaffinity.yaml" >}}
|
{{< codenew file="pods/topology-spread-constraints/one-constraint-with-nodeaffinity.yaml" >}}
|
||||||
|
|
||||||
@@ -374,10 +374,10 @@ single topology domain.
|
|||||||
The "EvenPodsSpread" feature provides flexible options to distribute Pods evenly across different
|
The "EvenPodsSpread" feature provides flexible options to distribute Pods evenly across different
|
||||||
topology domains - to achieve high availability or cost-saving. This can also help on rolling update
|
topology domains - to achieve high availability or cost-saving. This can also help on rolling update
|
||||||
workloads and scaling out replicas smoothly.
|
workloads and scaling out replicas smoothly.
|
||||||
See [Motivation](https://github.com/kubernetes/enhancements/blob/master/keps/sig-scheduling/20190221-even-pods-spreading.md#motivation) for more details.
|
See [Motivation](https://github.com/kubernetes/enhancements/blob/master/keps/sig-scheduling/20190221-pod-topology-spread.md#motivation) for more details.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
"EvenPodsSpread" 功能提供灵活的选项来将 pod 均匀分布到不同的拓扑域中,以实现高可用性或节省成本。这也有助于滚动更新工作负载和平滑扩展副本。有关详细信息,请参考[动机](https://github.com/kubernetes/enhancements/blob/master/keps/sig-scheduling/20190221-even-pods-spreading.md#motivation)。
|
"EvenPodsSpread" 功能提供灵活的选项来将 pod 均匀分布到不同的拓扑域中,以实现高可用性或节省成本。这也有助于滚动更新工作负载和平滑扩展副本。有关详细信息,请参考[动机](https://github.com/kubernetes/enhancements/blob/master/keps/sig-scheduling/20190221-pod-topology-spread.md#motivation)。
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
## Known Limitations
|
## Known Limitations
|
||||||
|
|||||||
Reference in New Issue
Block a user