volcano icon indicating copy to clipboard operation
volcano copied to clipboard

[Colocation Enhancement]Support CPU Burst for other OS release.

Open Monokaix opened this issue 5 months ago • 8 comments

What is the problem you're trying to solve

Currently, volcano only support CPU Burst for specific OS like Openeuler, need support more OS such as Anolis OS, Ubuntu, etc.

Describe the solution you'd like

Mainly change file pkg/agent/events/handlers/cpuburst/cpu_burst_linux.go, which should set cgroup for pods to adapt other OS instead of only Openeuler.

Additional context

No response

Monokaix avatar Sep 22 '25 07:09 Monokaix

/area colocation

Monokaix avatar Sep 22 '25 07:09 Monokaix

/good-first-issue

Monokaix avatar Sep 22 '25 07:09 Monokaix

@Monokaix: This request has been marked as suitable for new contributors.

Please ensure the request meets the requirements listed here.

If this request no longer meets these requirements, the label can be removed by commenting with the /remove-good-first-issue command.

In response to this:

/good-first-issue

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

volcano-sh-bot avatar Sep 22 '25 07:09 volcano-sh-bot

/assign

ravi-ck avatar Sep 23 '25 07:09 ravi-ck

@ravi-ck Hi, how about the progress?

JesseStutler avatar Nov 06 '25 11:11 JesseStutler

@ravi-ck Hi, do you still work on this?

JesseStutler avatar Nov 19 '25 08:11 JesseStutler

Linux burstable cfs controller: https://lwn.net/Articles/844976/

JesseStutler avatar Nov 19 '25 08:11 JesseStutler

containerd and runc integrate with linux burst: https://github.com/kubernetes/kubernetes/issues/104516#issuecomment-2503515971

JesseStutler avatar Nov 19 '25 08:11 JesseStutler

/unassign @ravi-ck Sorry, we need to prioritize this request. Given @ravi-ck hasn't responded for a long time, we need to give new contributors a chance. The ddl for v1.14.0 in Jan 30 is approaching

JesseStutler avatar Dec 15 '25 07:12 JesseStutler

Hi @Haibara-Ai97, seems like this pr https://github.com/volcano-sh/volcano/pull/4632 already help us support other OS release? Currently we just want to support colocation for cgroup v2

JesseStutler avatar Dec 15 '25 09:12 JesseStutler

I do think we have already supported generic os like ubuntu and centos if the kernel version >= 5.14, since we already support cgroup v1 and @Haibara-Ai97 help us support cgroup v2.

JesseStutler avatar Dec 15 '25 09:12 JesseStutler