Skip to content

Commit b352128

Browse files
authored
Merge pull request kubernetes#49980 from asa3311/sync-zh-170
[zh] sync disruptions horizontal-pod-autoscale /tasks/administer-cluster/migrating-from-dockershim/_index
2 parents 24b21f4 + 4f89bb6 commit b352128

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,13 @@ Cluster administrator actions include:
9292
9393
- [Draining a node](/docs/tasks/administer-cluster/safely-drain-node/) for repair or upgrade.
9494
- Draining a node from a cluster to scale the cluster down (learn about
95-
[Cluster Autoscaling](https://github.com/kubernetes/autoscaler/#readme)).
95+
[Node Autoscaling](/docs/concepts/cluster-administration/node-autoscaling/)).
9696
- Removing a pod from a node to permit something else to fit on that node.
9797
-->
9898
集群管理员操作包括:
9999

100100
- [排空(drain)节点](/zh-cn/docs/tasks/administer-cluster/safely-drain-node/)进行修复或升级。
101-
- 从集群中排空节点以缩小集群(了解[集群自动扩缩](https://github.com/kubernetes/autoscaler/#readme))。
101+
- 从集群中排空节点以缩小集群(了解[节点自动扩缩](/docs/concepts/cluster-administration/node-autoscaling/))。
102102
- 从节点中移除一个 Pod,以允许其他 Pod 使用该节点。
103103

104104
<!--

content/zh-cn/docs/tasks/run-application/horizontal-pod-autoscale.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -228,13 +228,13 @@ value:
228228
<!--
229229
```math
230230
\begin{equation*}
231-
desiredReplicas = \left( currentReplicas \times { currentMetricValue \over desiredMetricValue } \right)
231+
desiredReplicas = ceil\left\lceil currentReplicas \times \frac{currentMetricValue}{desiredMetricValue} \right\rceil
232232
\end{equation*}
233233
```
234234
-->
235235
```math
236236
\begin{equation*}
237-
期望副本数 = \left( 当前副本数 \times { 当前指标 \over 期望指标 } \right)
237+
期望副本数 = ceil\left\lceil 当前副本数 \times \frac{当前指标}{期望指标} \right\rceil
238238
\end{equation*}
239239
```
240240

@@ -1052,13 +1052,13 @@ guidelines, which cover this exact use case.
10521052

10531053
<!--
10541054
If you configure autoscaling in your cluster, you may also want to consider using
1055-
[cluster autoscaling](/docs/concepts/cluster-administration/cluster-autoscaling/)
1055+
[node autoscaling](/docs/concepts/cluster-administration/node-autoscaling/)
10561056
to ensure you are running the right number of nodes.
10571057

10581058
For more information on HorizontalPodAutoscaler:
10591059
-->
10601060
如果你在集群中配置自动扩缩,
1061-
你可能还需要考虑使用[集群自动扩缩](/zh-cn/docs/concepts/cluster-administration/cluster-autoscaling/)来确保所运行的节点数目合适。
1061+
你可能还需要考虑使用[节点自动扩缩](/doc/concepts/cluster-administration/node-autoscaling/)来确保所运行的节点数目合适。
10621062

10631063
有关 HorizontalPodAutoscaler 的更多信息:
10641064

0 commit comments

Comments
 (0)