Cascading deletion does not work according to the ownerReference dependents of the objects
Issue
-
If you delete an object depend on other object through ownerReference, the dependent are not deleted automatically.
-
For instance, if you delete a Deployment object, but ReplicaSet which depends on the Deployment would not be removed automatically.
-
You can see the following messages in the master controller manager pod logs.
timed out waiting for dependency graph builder sync during GC sync (attempt xxxxx)
Environment
- Red Hat OpenShift Container Platform
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.