Skip to content

Fix/logical backup job cleanup#3111

Open
jopadi wants to merge 6 commits into
masterfrom
fix/logical-backup-job-cleanup
Open

Fix/logical backup job cleanup#3111
jopadi wants to merge 6 commits into
masterfrom
fix/logical-backup-job-cleanup

Conversation

@jopadi

@jopadi jopadi commented Jun 16, 2026

Copy link
Copy Markdown
Member

New PR to continue working on #3091

add the new fields in the manifests/operatorconfiguration.crd.yaml and pkg/apis/acid.zalan.do/v1/crds.go

yajo and others added 3 commits June 2, 2026 11:03
Adds three new configuration options for logical backup cronjobs:
- logical_backup_successful_jobs_history_limit (default: 3)
- logical_backup_failed_jobs_history_limit (default: 3)
- logical_backup_ttl_seconds_after_finished (default: 86400)

These options control how many completed/failed backup jobs are
retained by Kubernetes and when finished jobs are automatically
deleted. This prevents accumulation of old backup jobs and pods
in namespaces with many PostgreSQL clusters.

Also updates the CronJob comparison logic to detect changes in
these new fields and trigger reconciliation when needed.

Closes #1092
@jopadi jopadi added this to the 2.0.0 milestone Jun 16, 2026
@jopadi jopadi added enhancement minor major Major feature changes or updates, e.g. feature rollout to a new country, new API calls. labels Jun 16, 2026
@FxKu FxKu removed the major Major feature changes or updates, e.g. feature rollout to a new country, new API calls. label Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants