-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expired backup that fail to delete should be easy to select. #4728
Comments
Making it a default may cause issues that the backup CR is removed but the actual data remained in the object storage, and the user will not know it from velero. Therefore, I hope we can control it based on the error type, i.e. we only force remove the backup when certain errors happen. |
Makes sense. The request I received was specifically around missing bsl error. Maybe a list of ignoredErrors |
This is the concern raised from @birsanv for context. The keyword is the user must have had enough time to investigate and debug during the time the resource was available.
|
Our internal discussion have another idea to resolve by labelling instead. Enable user to use labelselectors to delete expired backups. Then it's user's action, not our code. Maybe allow them to
|
that would work for me #4728 (comment) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
fixed with #4757 |
Describe the problem/challenge you have
Allow user to use label to filter failed garbage collected backups
Either as a new default behavior, or as a new feature flag, there should be an option for Velero to garbage collect TTL expired backups even if it failed validation for reasons such as invalid BSL.Similar to #4483 but instead of ObjectStorageSync, it's the behavior of garbage collection controller
Describe the solution you'd like
Add label to backups when garbage collector errors out
New default behavior or new feature flagAnything else you would like to add:
It would help with hanging failed validation Backups from "dirtying" the logs since we don't care if it failed validation if it expired anyway.
Environment:
velero version
):kubectl version
):/etc/os-release
):Vote on this issue!
This is an invitation to the Velero community to vote on issues, you can see the project's top voted issues listed here.
Use the "reaction smiley face" up to the right of this comment to vote.
The text was updated successfully, but these errors were encountered: