Kuscia 资源的定期清理
此 ISSUE 为 隐语开源共建计划(SecretFlow Open Source Contribution Plan,简称 SF OSCP)Phase 5 任务 ISSUE,欢迎社区开发者参与共建~
- 认领前,辛苦确认是否完成报名~
- 详细规则:「代码季」详细活动说明
- 更多任务,可查看 「OSCP Phase5 Season of Dev」Project
This ISSUE is one of the tasks of the SecretFlow Open Source Contribution Plan (referred to as SF OSCP) Phase 5. Welcome to join us in building it together!
- Before claiming a task, please make sure you have signed up.
- Activity rules: Detailed activity description of "Season of Dev"
- For more tasks, you can check the "OSCP Phase5 Season of Dev" Project.
任务介绍
- 任务名称:Kuscia 资源的定期清理
- 技术方向:Kuscia/Controller
- 任务难度:进阶🌟🌟
- 任务预估完成时间:4周
- 任务 Reviewer:@YanZhuangz
详细要求
当前 Kuscia 在 Job 数量达到一定量级之后,将会所需一定量的内存来满足运行,当用户在保留数据升级并使用默认内存限制后,有可能会达到内存上限,由于内存不能满足运行,将会造成内存溢出,需要扩展内存才能满足 Kuscia 启动,因此需要进行不必要的数据清理,当前已有清理动作(一个月清理一次),期望可以新增一些功能支持。
- 功能性:
- 支持动态配置,不重启的情况下满足清理周期的配置
- 支持 local 接口触发,通过接口触发清理动作
- 支持触发时立即进行清理
- 你可以添加清理你想到的其它数据
- 正确性:
- 进行周期配置时,清理周期配置正确,并按照预期周期进行执行
- 触发清理时,清理预期内数据
- 提交说明:
- 设计方案:请先准备你的设计思路方案,并在 ISSUE 下评论提交方案,经过 Reviewer 确认设计思路方案后再根据确认后的方案,进行相关的功能开发
- 功能开发:代码需符合代码规范 https://github.com/uber-go/guide/blob/master/style.md
- 功能提交:功能开发完成后,关联该 ISSUE 并提交代码至 https://github.com/secretflow/kuscia
能力要求
- 对 Kuscia 有一定了解
- 对 Kubernetes 原理有一定了解
- 熟悉 Golang
- 对 Kuscia crd 有一定了解
操作说明
give it to me
give it to me
Hello~Congratulations on successfully claiming this task, and thank you for your support of the OSCP! Please complete your contribution within 4 weeks, otherwise, the task will be released. If you have any questions, please let us know. 😄
恭喜你成功认领了该任务,感谢对 OSCP 的支持~请在 4 周内完成该任务贡献,否则,该任务将会被释放哦~如果你有任何疑问,请告知我们~😄
由于您未能在规定时间内完成任务,该任务已重新开放认领。如需继续完成,请重新认领;同时也欢迎其他开发者参与认领。\n\nAs the task was not completed within the specified time, it has been unassigned for claiming. If you wish to continue working on it, please reclaim the task. Other developers are also welcome to claim it.
由于您未能在规定时间内完成任务,该任务已重新开放认领。如需继续完成,请重新认领;同时也欢迎其他开发者参与认领。\n\nAs the task was not completed within the specified time, it has been unassigned for claiming. If you wish to continue working on it, please reclaim the task. Other developers are also welcome to claim it.