Merge pull request #49000 from Eason1118/main

[zh-cn] Update replicaset.md
pull/49002/head
Kubernetes Prow Robot 2024-12-10 03:06:02 +00:00 committed by GitHub
commit 835a20d90a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -218,7 +218,7 @@ You can also verify that the owner reference of these pods is set to the fronten
To do this, get the yaml of one of the Pods running:
-->
你也可以查看 Pod 的属主引用被设置为前端的 ReplicaSet。
要实现这点,可取运行中的某个 Pod 的 YAML
要实现这点,可取运行中的某个 Pod 的 YAML
```shell
kubectl get pods frontend-gbgfx -o yaml
@ -296,7 +296,7 @@ Fetching the Pods:
新的 Pod 会被该 ReplicaSet 获取,并立即被 ReplicaSet 终止,
因为它们的存在会使得 ReplicaSet 中 Pod 个数超出其期望值。
Pod
取 Pod
```shell
@ -341,7 +341,7 @@ number of its new Pods and the original matches its desired count. As fetching t
-->
你会看到 ReplicaSet 已经获得了该 Pod并仅根据其规约创建新的 Pod
直到新的 Pod 和原来的 Pod 的总数达到其预期个数。
这时取 Pod 列表:
这时取 Pod 列表:
```shell
kubectl get pods