Skip to content

Commit 1c8a929

Browse files
authored
Merge pull request #30617 from fenggw-fnst/update-horizontal-pod-autoscale-walkthrough
[zh] Update horizontal-pod-autoscale-walkthrough.md
2 parents 44412a3 + c6c4a70 commit 1c8a929

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ Now that the server is running, we will create the autoscaler using
135135
The following command will create a Horizontal Pod Autoscaler that maintains between 1 and 10 replicas of the Pods
136136
controlled by the php-apache deployment we created in the first step of these instructions.
137137
Roughly speaking, HPA will increase and decrease the number of replicas
138-
(via the deployment) to maintain an average CPU utilization across all Pods of 50%
139-
(since each pod requests 200 milli-cores by `kubectl run`), this means average CPU usage of 100 milli-cores).
138+
(via the deployment) to maintain an average CPU utilization across all Pods of 50%.
139+
Since each pod requests 200 milli-cores by `kubectl run`, this means an average CPU usage of 100 milli-cores.
140140
See [here](/docs/tasks/run-application/horizontal-pod-autoscale/#algorithm-details) for more details on the algorithm.
141141
-->
142142
## 创建 Horizontal Pod Autoscaler {#create-horizontal-pod-autoscaler}
@@ -147,8 +147,8 @@ See [here](/docs/tasks/run-application/horizontal-pod-autoscale/#algorithm-detai
147147
以下命令将创建一个 Horizontal Pod Autoscaler 用于控制我们上一步骤中创建的
148148
Deployment,使 Pod 的副本数量维持在 1 到 10 之间。
149149
大致来说,HPA 将(通过 Deployment)增加或者减少 Pod 副本的数量以保持所有 Pod
150-
的平均 CPU 利用率在 50% 左右由于每个 Pod 请求 200 毫核的 CPU,这意味着平均
151-
CPU 用量为 100 毫核
150+
的平均 CPU 利用率在 50% 左右由于每个 Pod 请求 200 毫核的 CPU,这意味着平均
151+
CPU 用量为 100 毫核。
152152
算法的详情请参阅[相关文档](/zh/docs/tasks/run-application/horizontal-pod-autoscale/#algorithm-details)
153153

154154
```shell

0 commit comments

Comments
 (0)