Skip to content

Commit 6079c28

Browse files
authored
Merge pull request #35787 from davidxia/patch-4
zh-cn: update Pod Lifecycle doc section header
2 parents eebc104 + e831eda commit 6079c28

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

content/zh-cn/docs/concepts/architecture/garbage-collection.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ allows the clean up of resources like the following:
2020
垃圾收集允许系统清理如下资源:
2121

2222
<!--
23-
* [Failed pods](/docs/concepts/workloads/pods/pod-lifecycle/#pod-garbage-collection)
23+
* [Terminated pods](/docs/concepts/workloads/pods/pod-lifecycle/#pod-garbage-collection)
2424
* [Completed Jobs](/docs/concepts/workloads/controllers/ttlafterfinished/)
2525
* [Objects without owner references](#owners-dependents)
2626
* [Unused containers and container images](#containers-images)
@@ -32,7 +32,7 @@ allows the clean up of resources like the following:
3232
manager
3333
* [Node Lease objects](/docs/concepts/architecture/nodes/#heartbeats)
3434
-->
35-
* [失败的 Pod](/zh-cn/docs/concepts/workloads/pods/pod-lifecycle/#pod-garbage-collection)
35+
* [终止的 Pod](/zh-cn/docs/concepts/workloads/pods/pod-lifecycle/#pod-garbage-collection)
3636
* [已完成的 Job](/zh-cn/docs/concepts/workloads/controllers/ttlafterfinished/)
3737
* [不再存在属主引用的对象](#owners-dependents)
3838
* [未使用的容器和容器镜像](#containers-images)
@@ -357,4 +357,3 @@ configure garbage collection:
357357
* 进一步了解 Kubernetes [finalizers](/zh-cn/docs/concepts/overview/working-with-objects/finalizers/)
358358
* 进一步了解 [TTL 控制器](/zh-cn/docs/concepts/workloads/controllers/ttlafterfinished/) (beta),
359359
该控制器负责清理已完成的 Job。
360-

content/zh-cn/docs/concepts/workloads/pods/pod-lifecycle.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -878,7 +878,7 @@ API 服务器直接删除 Pod 对象,这样新的与之同名的 Pod 即可以
878878
的任务文档。
879879

880880
<!--
881-
### Garbage collection of failed Pods {#pod-garbage-collection}
881+
### Garbage collection of terminated Pods {#pod-garbage-collection}
882882
883883
For failed Pods, the API objects remain in the cluster's API until a human or
884884
{{< glossary_tooltip term_id="controller" text="controller" >}} process
@@ -889,7 +889,7 @@ The control plane cleans up terminated Pods (with a phase of `Succeeded` or
889889
(determined by `terminated-pod-gc-threshold` in the kube-controller-manager).
890890
This avoids a resource leak as Pods are created and terminated over time.
891891
-->
892-
### 失效 Pod 的垃圾收集 {#pod-garbage-collection}
892+
### 已终止 Pod 的垃圾收集 {#pod-garbage-collection}
893893

894894
对于已失败的 Pod 而言,对应的 API 对象仍然会保留在集群的 API 服务器上,直到
895895
用户或者{{< glossary_tooltip term_id="controller" text="控制器" >}}进程显式地
@@ -920,4 +920,3 @@ This avoids a resource leak as Pods are created and terminated over time.
920920
* 进一步了解[容器生命周期回调](/zh-cn/docs/concepts/containers/container-lifecycle-hooks/)
921921
* 关于 API 中定义的有关 Pod 和容器状态的详细规范信息,
922922
可参阅 API 参考文档中 Pod 的 [`.status`](/docs/reference/kubernetes-api/workload-resources/pod-v1/#PodStatus) 字段。
923-

0 commit comments

Comments
 (0)