Open Monokaix opened 3 weeks ago
/good-first-issue
@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.
hey, I would like to work on this /assign
hey I would like to work on this
/assign @7h3-3mp7y-m4n
hey, I would like to work on this /assign
You're welcome to do that! And please pay a little attention that this feature is planned to release in next version v1.10, and we should make it merged before that: )
hey I would like to work on this
Very thanks but a little pity that @7h3-3mp7y-m4n has picked this issue first, you can take a look at other issues that you can contribute to: )
hey, I would like to work on this /assign
You're welcome to do that! And please pay a little attention that this feature is planned to release in next version v1.10, and we should make it merged before that: )
Okay, I try my best to complete it ASAP
@7h3-3mp7y-m4n Hi, there are some main changes need to be done
SidecarContainers
in pkg/features to open or close this feature, which should be coordinate with k8s.allocate
action enabled to test resource fit function, please refer to https://github.com/volcano-sh/volcano/blob/34836851e6317807267230b1b9508194f81a6f67/pkg/scheduler/actions/allocate/allocate.go#L292
What would you like to be added:
Add sidecarContainer support for volcano scheduler, which needs volcano scheduler re-compute pod resource requests.
Why is this needed:
SideCarContainer is a beta feature and is enabled by default in k8s v1.29, volcano has not yet adapt the feature, this may cause the scheduler to undercalculate the resources for the pod, and then the kubelet admit failed after the pod is scheduled to the node, because the sidecarcontainer is a new kind of initcontainer, so the pod initialization request resources need to be recalculated.
Refer to: