[RFE] Create a cronjob to run backups
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 88
- Forks
- 66
- Avg merge
- 53m
- Merged PRs (30d)
- 1
Description
Is your feature request related to a problem? Please describe.
Kubernetes has the cronjob resource that runs a job periodically on a given schedule. We could use it to schedule Pulp backups.
Describe the solution you'd like
The operator could create a k8s cronjob resource that would create a PulpBackup instance to periodically run a backup and delete it as soon as the backup finishes.
Additional context
We would probably need to also modify the backup controller implementation to keep different "versions" of files based on the data they were copied. Which, maybe, would also need to create another cronjob resource to rotate old backups!?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Kubernetes CronJob documentation and the operator's existing PulpBackup and backup controller implementations. Define how a scheduled CronJob creates and removes PulpBackup resources, then resolve whether backup version retention and rotation require a second CronJob before implementation; done means scheduled backups and retention behavior are specified and tested.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, kubernetes
- Domain
- devops, infrastructure
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100