volcano icon indicating copy to clipboard operation
volcano copied to clipboard

Set root capability only when user not set it

Open houyuting opened this issue 6 months ago • 5 comments

Fixes #4350

Result:

UT- when I use old code, I got: image

UT- when I use new code, I got: image

houyuting avatar Jun 09 '25 08:06 houyuting

image @houyuting Please squash to one commit :)

JesseStutler avatar Jun 10 '25 03:06 JesseStutler

/ok-to-test

JesseStutler avatar Jun 10 '25 06:06 JesseStutler

/lgtm Please also take a look @hwdef @lowang-bh @Monokaix I think it's reasonable when users want to pre-set the capability for the root queue

JesseStutler avatar Jun 10 '25 07:06 JesseStutler

That's a good catch, and @Xu-Wentao also has the same requirement, and I think that we can add root queue at helm chart, then user can set the spec of root queue when install volcano, and we can remove root queue creation operation in volcano scheduler.

Monokaix avatar Jun 18 '25 02:06 Monokaix

@Monokaix Good idea and we can open another feature issue and track it. If you have time,please give me approve, thanks.

houyuting avatar Jun 20 '25 03:06 houyuting

@Monokaix Good idea and we can open another feature issue and track it. If you have time,please give me approve, thanks.

OK @houyuting Would you like to raise this issue? Otherwise we may miss it :)

JesseStutler avatar Jun 23 '25 01:06 JesseStutler

Please sign off your commit with git commit -s.

Monokaix avatar Jul 01 '25 06:07 Monokaix

The root queue will also be updated when close session, so it's not enough to just modify plugin.

Monokaix avatar Jul 01 '25 06:07 Monokaix

The root queue will also be updated when close session, so it's not enough to just modify plugin.

got it

houyuting avatar Jul 01 '25 06:07 houyuting

image The UT failed, please fix it thanks

JesseStutler avatar Jul 14 '25 01:07 JesseStutler

/gemini review

JesseStutler avatar Jul 14 '25 01:07 JesseStutler

/lgtm

JesseStutler avatar Jul 22 '25 06:07 JesseStutler

/approve Thanks!

Monokaix avatar Jul 29 '25 02:07 Monokaix

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Monokaix

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

volcano-sh-bot avatar Jul 29 '25 02:07 volcano-sh-bot