File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
content/zh/docs/reference/glossary Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -41,15 +41,16 @@ Finalizer 提醒{{<glossary_tooltip text="控制器" term_id="controller">}}清
41
41
42
42
<!--
43
43
When you tell Kubernetes to delete an object that has finalizers specified for
44
- it, the Kubernetes API marks the object for deletion, putting it into a
45
- read-only state . The target object remains in a terminating state while the
44
+ it, the Kubernetes API marks the object for deletion by populating `.metadata.deletionTimestamp`,
45
+ and returns a `202` status code (HTTP "Accepted") . The target object remains in a terminating state while the
46
46
control plane, or other components, take the actions defined by the finalizers.
47
47
After these actions are complete, the controller removes the relevant finalizers
48
48
from the target object. When the `metadata.finalizers` field is empty,
49
49
Kubernetes considers the deletion complete.
50
50
-->
51
51
当你告诉 Kubernetes 删除一个指定了 Finalizer 的对象时,
52
- Kubernetes API 会将该对象标记为删除,使其进入只读状态。
52
+ Kubernetes API 通过填充 ` .metadata.deletionTimestamp ` 来标记要删除的对象,
53
+ 并返回` 202 ` 状态码 (HTTP "已接受") 使其进入只读状态。
53
54
此时控制平面或其他组件会采取 Finalizer 所定义的行动,
54
55
而目标对象仍然处于终止中(Terminating)的状态。
55
56
这些行动完成后,控制器会删除目标对象相关的 Finalizer。
You can’t perform that action at this time.
0 commit comments