kuscia icon indicating copy to clipboard operation
kuscia copied to clipboard

Kuscia 资源的定期清理

Open Candicepan opened this issue 10 months ago • 4 comments

此 ISSUE 为 隐语开源共建计划(SecretFlow Open Source Contribution Plan,简称 SF OSCP)Phase 5 任务 ISSUE,欢迎社区开发者参与共建~

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!

任务介绍

  • 任务名称:Kuscia 资源的定期清理
  • 技术方向:Kuscia/Controller
  • 任务难度:进阶🌟🌟
  • 任务预估完成时间:4周
  • 任务 Reviewer:@YanZhuangz

详细要求

当前 Kuscia 在 Job 数量达到一定量级之后,将会所需一定量的内存来满足运行,当用户在保留数据升级并使用默认内存限制后,有可能会达到内存上限,由于内存不能满足运行,将会造成内存溢出,需要扩展内存才能满足 Kuscia 启动,因此需要进行不必要的数据清理,当前已有清理动作(一个月清理一次),期望可以新增一些功能支持。

  • 功能性:
    • 支持动态配置,不重启的情况下满足清理周期的配置
    • 支持 local 接口触发,通过接口触发清理动作
    • 支持触发时立即进行清理
    • 你可以添加清理你想到的其它数据
  • 正确性:
    • 进行周期配置时,清理周期配置正确,并按照预期周期进行执行
    • 触发清理时,清理预期内数据
  • 提交说明:

能力要求

  • 对 Kuscia 有一定了解
  • 对 Kubernetes 原理有一定了解
  • 熟悉 Golang
  • 对 Kuscia crd 有一定了解

操作说明

Candicepan avatar Feb 28 '25 08:02 Candicepan

give it to me

renji555 avatar Apr 08 '25 06:04 renji555

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 周内完成该任务贡献,否则,该任务将会被释放哦~如果你有任何疑问,请告知我们~😄

Candicepan avatar Apr 08 '25 06:04 Candicepan

由于您未能在规定时间内完成任务,该任务已重新开放认领。如需继续完成,请重新认领;同时也欢迎其他开发者参与认领。\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.

github-actions[bot] avatar May 06 '25 12:05 github-actions[bot]

由于您未能在规定时间内完成任务,该任务已重新开放认领。如需继续完成,请重新认领;同时也欢迎其他开发者参与认领。\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.

github-actions[bot] avatar Jun 10 '25 12:06 github-actions[bot]