File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
content/en/docs/concepts/overview/working-with-objects Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ and does the following:
26
26
27
27
* Modifies the object to add a ` metadata.deletionTimestamp ` field with the
28
28
time you started the deletion.
29
- * Prevents the object from being removed until its ` metadata.finalizers ` field is empty.
29
+ * Prevents the object from being removed until all items are removed from its ` metadata.finalizers ` field
30
30
* Returns a ` 202 ` status code (HTTP "Accepted")
31
31
32
32
The controller managing that finalizer notices the update to the object setting the
@@ -45,6 +45,16 @@ controller can't delete it because the finalizer exists. When the Pod stops
45
45
using the ` PersistentVolume ` , Kubernetes clears the ` pv-protection ` finalizer,
46
46
and the controller deletes the volume.
47
47
48
+ {{<note >}}
49
+ * When you ` DELETE ` an object, Kubernetes adds the deletion timestamp for that object and then
50
+ immediately starts to restrict changes to the ` .metadata.finalizers ` field for the object that is
51
+ now pending deletion. You can remove existing finalizers (deleting an entry from the ` finalizers `
52
+ list) but you cannot add a new finalizer. You also cannot modify the ` deletionTimestamp ` for an
53
+ object once it is set.
54
+
55
+ * After the deletion is requested, you can not resurrect this object. The only way is to delete it and make a new similar object.
56
+ {{</note >}}
57
+
48
58
## Owner references, labels, and finalizers {#owners-labels-finalizers}
49
59
50
60
Like {{<glossary_tooltip text="labels" term_id="label">}},
You can’t perform that action at this time.
0 commit comments