Skip to content

Commit

Permalink
Merge pull request #47977 from network-charles/network-charles-patch-2
Browse files Browse the repository at this point in the history
Clarify Finalizer Usage and Controller Types in Background Cascading Deletion
  • Loading branch information
k8s-ci-robot authored Sep 21, 2024
2 parents 1fe2591 + 0707636 commit abb48e3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions content/en/docs/concepts/architecture/garbage-collection.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,10 @@ to learn more.
### Background cascading deletion {#background-deletion}

In background cascading deletion, the Kubernetes API server deletes the owner
object immediately and the controller cleans up the dependent objects in
the background. By default, Kubernetes uses background cascading deletion unless
object immediately and the garbage collector controller (custom or default)
cleans up the dependent objects in the background.
If a finalizer exists, it ensures that objects are not deleted until all necessary clean-up tasks are completed.
By default, Kubernetes uses background cascading deletion unless
you manually use foreground deletion or choose to orphan the dependent objects.

See [Use background cascading deletion](/docs/tasks/administer-cluster/use-cascading-deletion/#use-background-cascading-deletion)
Expand Down

0 comments on commit abb48e3

Please sign in to comment.