Skip to content

Commit 3c9583d

Browse files
authored
Merge pull request #31754 from liggitt/finalizers
Fix finalizer doc
2 parents bfe7ca1 + 0e8acb4 commit 3c9583d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/en/docs/reference/glossary/finalizer.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ to clean up resources the deleted object owned.
1919
<!--more-->
2020

2121
When you tell Kubernetes to delete an object that has finalizers specified for
22-
it, the Kubernetes API marks the object for deletion, putting it into a
23-
read-only state. The target object remains in a terminating state while the
22+
it, the Kubernetes API marks the object for deletion by populating `.metadata.deletionTimestamp`,
23+
and returns a `202` status code (HTTP "Accepted"). The target object remains in a terminating state while the
2424
control plane, or other components, take the actions defined by the finalizers.
2525
After these actions are complete, the controller removes the relevant finalizers
2626
from the target object. When the `metadata.finalizers` field is empty,
27-
Kubernetes considers the deletion complete.
27+
Kubernetes considers the deletion complete and deletes the object.
2828

2929
You can use finalizers to control {{<glossary_tooltip text="garbage collection" term_id="garbage-collection">}}
3030
of resources. For example, you can define a finalizer to clean up related resources or

0 commit comments

Comments
 (0)