-
Notifications
You must be signed in to change notification settings - Fork 5
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
Enable configuration to select backup deletion mechanism #18
Comments
Can you give an example error message and HTTP response code when etcd-manager fails to delete an object that has S3 Object Lock? We could implement some caching and backoff for failures of this type. |
The s3 cli does this (bucket and prefix obfuscated):
This is the relevant snippet of output from the CLI with
You can see the |
We update the last-run timestamp before running cleanup, so that we don't retry immediately if the cleanup fails. Issue kubernetes-sigs#18
Way back in kopeio/etcd-manager#325 it was observed that object versioning and deleting the object (which actually means creating a deletion marker in a versioned bucket) can create large storage costs as the backups are not removed by etcd.
However, in a bucket with S3 Object Lock enabled, it typically not possible to delete a version until its lock is released. For users in this situation, using regular S3 delete (which creates the delete marker) and then using S3 lifecycle to manage actually deleting the version is pretty desirable.
This manifests very similarly to kubernetes/kops#14031, where the cost of the tier 1 operations that are trying to delete objects gets very high.
The text was updated successfully, but these errors were encountered: