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

operator del cr interval invalid #978

Open
binbin0325 opened this issue Nov 6, 2023 · 1 comment
Open

operator del cr interval invalid #978

binbin0325 opened this issue Nov 6, 2023 · 1 comment
Labels
chaosblade-operator chaosblade-operator project type/bug Something isn't working

Comments

@binbin0325
Copy link
Member

Issue Description

Type: bug report

Describe what happened (or what feature you want)

In some cases, the cr cannot be automatically removed by RemoveBladeInterval。for example, a cr was created when the scheduled task to automatically delete cr was just completed. If you do not manually clear this cr, the next scheduled clean task will not clear it either, because this cr has not reached the setRemoveBladeInterval(72 hours by default), and you need to wait another 72 hours to clear this cr

在某些情况下,不能通过RemoveBladeInterval自动删除cr。例如,在自动删除cr的计划任务刚刚完成时创建了cr。如果不手动清除该cr,则下一次定时清理任务也不会清除该cr,因为尚未达到RemoveBladeInterval(默认为72小时),需要再等待72小时才能清除该cr

Describe what you expected to happen

If the existence time of cr exceeds the RemoveBladeInterval, the CR is deleted immediately
如果cr的存在时间超过RemoveBladeInterval,则立即删除cr

How to reproduce it (as minimally and precisely as possible)

Tell us your environment

Anything else we need to know?

@spencercjh
Copy link
Contributor

我发现我有一个集群里积攒了 180 天的 blade 都没有被删除…这块删除逻辑是不是有什么问题呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chaosblade-operator chaosblade-operator project type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants