Skip to content

Anchors whose upstream object is gone are never collected #721

Open

Description

@vvoytovych

Summary

The operator deletes an anchor only when it sees the anchor's upstream object go through a finalized deletion. An anchor whose upstream object is already gone stays on the Karmada hub until someone deletes it by hand, with everything it owns.

#320 stopped new anchors stranding on deletion. The rechecks after it shipped found no new stranded Gateway in either estate. But both cleanups were done by hand, and they covered only anchors that own a Gateway. One anchor from before the fix still sits on the production hub, owning nothing. The anchors for HTTPRoutes, HTTPProxies and EndpointSlices have not been read in either estate.

Split out of #472, which closes with its first criterion met. Related to #672, whose deleted proxy left its children in its project.

Acceptance criteria

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions