radondb-mysql-kubernetes
radondb-mysql-kubernetes copied to clipboard
[Feature] too many pod for backup
Is your feature request related to a problem? Please describe.
Describe the solution you'd like
Describe alternatives you've considered
Additional context @ Nrehearsal 1.现在备份job会一直保留,导致有很多已完成的pod存在,没有必要 解决方法: 1.定义两个 job 名字 backup-manual-job,backup-auto-job 2.manual-backup1->创建backup-manual-job 3.manual-backup2->先删除backup-manual-job,再创建backup-manual-job 4.auto-backup1->创建backup-auto-job 5.auto-backup2->先删除backup-auto-job,再创建backup-auto-job 6.这样backup-manual-job,backup-auto-job 就会只保留最近一次的
@zhl003 @runkecheng is it necessary to keep the history of backup job? I'm worried that the cluster is running for a long time and there will be many pods which in completed state
It is necessary to keep record of backup history but not need to keep backup job that is completed ,rewrite the backup result to backup CR status?
@zhl003 I think so. @acekingke how to rewrite the failed reason from pod to backup CR :joy:?