Remove object from delete queue - Finalizer question

Cluster information:

Kubernetes version: 1.21
Cloud being used: EKS
Installation method:
Host OS: Amazon Linux
CNI and version: Flannel
CRI and version: Docker


I have an object with a finalyzer attached, According to the documentation once the object is deleted its is actually “marked” for deletion and will be deleted once the finalizer is removed and only then the object will be deleted.

My questions is: If the object was marked for deletion by accident can we revert the “mark for deletion”? and take the object out of the garbage collection cycle?


Hi all! I have exactly this question. Would love to hear if there’s any prescribed (or otherwise :eyes:) ways to revert a deletion.