Skip to content
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

[Feature] too many pod for backup #517

Open
acekingke opened this issue Jun 8, 2022 · 3 comments
Open

[Feature] too many pod for backup #517

acekingke opened this issue Jun 8, 2022 · 3 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@acekingke
Copy link
Contributor

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 就会只保留最近一次的

@acekingke acekingke added the enhancement New feature or request label Jun 8, 2022
@acekingke acekingke added this to the Next milestone Jun 8, 2022
@acekingke acekingke self-assigned this Jun 8, 2022
@Nrehearsal
Copy link
Member

@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

@zhl003
Copy link
Collaborator

zhl003 commented Jun 9, 2022

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?

@Nrehearsal
Copy link
Member

@zhl003 I think so. @acekingke how to rewrite the failed reason from pod to backup CR 😂?

acekingke added a commit to acekingke/radondb-mysql-kubernetes that referenced this issue Jun 14, 2022
zhl003 pushed a commit to zhl003/radondb-mysql-kubernetes that referenced this issue Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants