-
Notifications
You must be signed in to change notification settings - Fork 232
Open
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.
Milestone
Description
Feature Description
Problem Statement:
If RGD is mutated to remove any resources then a previously applied instances would leak the removed resources. Eventually when an instance is deleted the leaked instances are not deleted as part of instance deletion.
Proposed Solution:
This is a common enough pattern in k8s ecosystem. kubectl attempts to solve this using applyset. There is a KEP describing the applyset solution. This has been adopted in the declarative pattern variant of kubebuilder.
We propose using applyset in KRO to handle tracking of resources that are part of a Instance. This allows us to handle pruning.
Alternatives Considered:
Rollout your own label matching logic and handle pruning.
Additional Context:
- Please vote on this issue by adding a 👍 reaction to the original issue
- If you are interested in working on this feature, please leave a comment
inful, greninja517, frewilhelm, fasetto, a-hilaly and 7 more
Metadata
Metadata
Assignees
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.