Skip to content

Commit 0a2081f

Browse files
authored
Merge pull request #42839 from my-git9/deploy234
[zh-cn] sync controllers/deployment.md
2 parents 7ff94f2 + f2c7aed commit 0a2081f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

content/zh-cn/docs/concepts/workloads/controllers/deployment.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -744,10 +744,12 @@ Deployment 被触发上线时,系统就会创建 Deployment 的新的修订版
744744
* 按 Ctrl-C 停止上述上线状态观测。有关上线停滞的详细信息,[参考这里](#deployment-status)
745745

746746
<!--
747-
* You see that the number of old replicas (`nginx-deployment-1564180365` and `nginx-deployment-2035384211`) is 2, and new replicas (nginx-deployment-3066724191) is 1.
747+
* You see that the number of old replicas (adding the replica count from
748+
`nginx-deployment-1564180365` and `nginx-deployment-2035384211`) is 3, and the number of
749+
new replicas (from `nginx-deployment-3066724191`) is 1.
748750
-->
749-
* 你可以看到旧的副本有两个(`nginx-deployment-1564180365``nginx-deployment-2035384211`
750-
新的副本有 1 个(`nginx-deployment-3066724191`):
751+
* 你可以看到旧的副本(算上来自 `nginx-deployment-1564180365``nginx-deployment-2035384211` 的副本)有 3 个
752+
新的副本(来自 `nginx-deployment-3066724191`有 1 个
751753

752754
```shell
753755
kubectl get rs

0 commit comments

Comments
 (0)