File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
content/zh-cn/docs/concepts/architecture Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -187,16 +187,20 @@ to learn more.
187187### Background cascading deletion {#background-deletion}
188188
189189In background cascading deletion, the Kubernetes API server deletes the owner
190- object immediately and the controller cleans up the dependent objects in
191- the background. By default, Kubernetes uses background cascading deletion unless
190+ object immediately and the garbage collector controller (custom or default)
191+ cleans up the dependent objects in the background.
192+ If a finalizer exists, it ensures that objects are not deleted until all necessary clean-up tasks are completed.
193+ By default, Kubernetes uses background cascading deletion unless
192194you manually use foreground deletion or choose to orphan the dependent objects.
193195
194196See [Use background cascading deletion](/docs/tasks/administer-cluster/use-cascading-deletion/#use-background-cascading-deletion)
195197to learn more.
196198-->
197199### 后台级联删除 {#background-deletion}
198200
199- 在后台级联删除过程中,Kubernetes 服务器立即删除属主对象,控制器在后台清理所有依赖对象。
201+ 在后台级联删除过程中,Kubernetes 服务器立即删除属主对象,
202+ 而垃圾收集控制器(无论是自定义的还是默认的)在后台清理所有依赖对象。
203+ 如果存在 Finalizers,它会确保所有必要的清理任务完成后对象才被删除。
200204默认情况下,Kubernetes 使用后台级联删除方案,除非你手动设置了要使用前台删除,
201205或者选择遗弃依赖对象。
202206
You can’t perform that action at this time.
0 commit comments