-
Notifications
You must be signed in to change notification settings - Fork 61
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
Sheduled kubernetes pg-backup objects are not automatically cleaned up #676
Comments
Hi @konoox, we have a task about it https://perconadev.atlassian.net/browse/K8SPG-502. We will fix this bug in the next release. |
I have this problem using 2.4.0. Should I set |
Hi, I am facing the same problem with version The backups are configured as following:
This seems to correctly delete backups from |
I am also encountering this issue with The percona operator logs print the following: This problematic check seems to be here. |
Report
Sheduled kubernetes pg-backup objects are not automatically cleaned up
More about the problem
Since the 2.3.0 k8s Percona Postgres operator upgrade, pg-backup resources are created for each scheduled backup (K8SPG-410)
The pgbackrest backups and related items saved in the storage are still clean-up up properly following the retention rules defined in the spec.backups.pgbackrest.global.-retention-full* attributes of the pg cluster definition.
BUT the pg-backup related k8s resources are well created but never cleaned up even with the retention attributes properly defined.
This problem lead to a quick accumulation of pg-backups and jobs k8s resources in the namespaces using a pg cluster with scheduled backups.
Steps to reproduce
Versions
Anything else?
No response
The text was updated successfully, but these errors were encountered: