Skip to content

feat(docs): KEP-2437-Support Volcano Scheduler in Kubeflow Trainer V2 - #2672

Merged
google-oss-prow[bot] merged 47 commits into
kubeflow:masterfrom
Doris-xm:KEP-volcano-scheduler
Aug 1, 2025
Merged

feat(docs): KEP-2437-Support Volcano Scheduler in Kubeflow Trainer V2#2672
google-oss-prow[bot] merged 47 commits into
kubeflow:masterfrom
Doris-xm:KEP-volcano-scheduler

Conversation

@Doris-xm

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:

This PR convert GSoC proposal to KEP. The detailed description of the project is Project 10: Support Volcano Scheduler in Kubeflow Trainer.

Which issue(s) this PR fixes :
Part of #2671

Checklist:

  • Docs included if any changes are user facing

Signed-off-by: Xinmin Du <2812493086@qq.com>
@coveralls

coveralls commented Jun 16, 2025

Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 16669262324

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-29.2%) to 0.0%

Totals Coverage Status
Change from base Build 15579727901: -29.2%
Covered Lines: 0
Relevant Lines: 0

💛 - Coveralls

Signed-off-by: Xinmin Du <2812493086@qq.com>
@Doris-xm
Doris-xm force-pushed the KEP-volcano-scheduler branch from 2c6f9c6 to bbc1cee Compare June 16, 2025 14:04

@Electronic-Waste Electronic-Waste left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Doris-xm Thanks for this great work! I've left my initial comments for you.

/cc @kubeflow/wg-training-leads @astefanutti @rudeigerc

Comment thread docs/proposals/2437-volcano-scheduler/README.md Outdated
Comment thread docs/proposals/2437-volcano-scheduler/README.md Outdated
Comment thread docs/proposals/2437-volcano-scheduler/README.md Outdated
Comment thread docs/proposals/2437-volcano-scheduler/README.md Outdated
Comment thread docs/proposals/2437-volcano-scheduler/README.md Outdated
Comment thread docs/proposals/2437-volcano-scheduler/README.md Outdated
Comment thread docs/proposals/2437-volcano-scheduler/README.md Outdated
Comment thread docs/proposals/2437-volcano-scheduler/README.md Outdated
Comment thread docs/proposals/2437-volcano-scheduler/README.md Outdated
Comment thread docs/proposals/2437-volcano-scheduler/README.md Outdated
@google-oss-prow
google-oss-prow Bot requested review from a team and astefanutti June 23, 2025 09:44
@google-oss-prow

Copy link
Copy Markdown
Contributor

@Electronic-Waste: GitHub didn't allow me to request PR reviews from the following users: rudeigerc.

Note that only kubeflow members and repo collaborators can review this PR, and authors cannot review their own PRs.

Details

In response to this:

@Doris-xm Thanks for this great work! I've left my initial comments for you.

/cc @kubeflow/wg-training-leads @astefanutti @rudeigerc

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.

@Electronic-Waste

Copy link
Copy Markdown
Member

@Doris-xm I also recommend that you could change the title of this PR to either:

  1. KEP-2437: Support Volcano Scheduler in Kubeflow Trainer V2
  2. [GSoC] Project 10: Support Volcano Scheduler in Kubeflow Trainer V2

It will be more clear and neat, I think:)

Doris-xm and others added 11 commits June 24, 2025 16:20
Co-authored-by: Shao Wang <2690692950@qq.com>
Signed-off-by: Du Xinmin <2812493086@qq.com>
Co-authored-by: Shao Wang <2690692950@qq.com>
Signed-off-by: Du Xinmin <2812493086@qq.com>
Co-authored-by: Shao Wang <2690692950@qq.com>
Signed-off-by: Du Xinmin <2812493086@qq.com>
Co-authored-by: Shao Wang <2690692950@qq.com>
Signed-off-by: Du Xinmin <2812493086@qq.com>
Co-authored-by: Shao Wang <2690692950@qq.com>
Signed-off-by: Du Xinmin <2812493086@qq.com>
Co-authored-by: Shao Wang <2690692950@qq.com>
Signed-off-by: Du Xinmin <2812493086@qq.com>
Co-authored-by: Shao Wang <2690692950@qq.com>
Signed-off-by: Du Xinmin <2812493086@qq.com>
Co-authored-by: Shao Wang <2690692950@qq.com>
Signed-off-by: Du Xinmin <2812493086@qq.com>
Signed-off-by: Xinmin Du <2812493086@qq.com>
Signed-off-by: Xinmin Du <2812493086@qq.com>
Signed-off-by: Xinmin Du <2812493086@qq.com>
@Doris-xm Doris-xm changed the title KEP-2437: Creating Kubeflow Enhancement Proposal KEP-2437: Support Volcano Scheduler in Kubeflow Trainer V2 Jun 24, 2025
Doris-xm added 2 commits June 24, 2025 18:47
Signed-off-by: Xinmin Du <2812493086@qq.com>
Signed-off-by: Xinmin Du <2812493086@qq.com>
@Doris-xm

Copy link
Copy Markdown
Contributor Author

/rerun-all

@Electronic-Waste Electronic-Waste left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Doris-xm Thanks for the updates. It looks good to me!

/cc @kubeflow/wg-training-leads @astefanutti @rudeigerc

Comment thread docs/proposals/2437-volcano-scheduler/README.md Outdated
Comment thread docs/proposals/2437-volcano-scheduler/README.md Outdated
Comment thread docs/proposals/2437-volcano-scheduler/README.md Outdated
Comment thread docs/proposals/2437-volcano-scheduler/README.md Outdated
Comment thread docs/proposals/2437-volcano-scheduler/README.md Outdated
Comment thread docs/proposals/2437-volcano-scheduler/README.md Outdated
Comment thread docs/proposals/2437-volcano-scheduler/README.md Outdated
Comment thread docs/proposals/2437-volcano-scheduler/README.md Outdated
Comment thread docs/proposals/2437-volcano-scheduler/README.md Outdated
@google-oss-prow

Copy link
Copy Markdown
Contributor

@Electronic-Waste: GitHub didn't allow me to request PR reviews from the following users: rudeigerc.

Note that only kubeflow members and repo collaborators can review this PR, and authors cannot review their own PRs.

Details

In response to this:

@Doris-xm Thanks for the updates. It looks good to me!

/cc @kubeflow/wg-training-leads @astefanutti @rudeigerc

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.

@Doris-xm Doris-xm changed the title KEP-2437: Support Volcano Scheduler in Kubeflow Trainer V2 feat(docs): KEP-2437-Support Volcano Scheduler in Kubeflow Trainer V2 Jul 25, 2025
Doris-xm and others added 4 commits July 29, 2025 23:02
Signed-off-by: Xinmin Du <2812493086@qq.com>
Signed-off-by: Xinmin Du <2812493086@qq.com>
Co-authored-by: Shao Wang <2690692950@qq.com>
Signed-off-by: Du Xinmin <2812493086@qq.com>
Signed-off-by: Xinmin Du <2812493086@qq.com>
@Doris-xm

Copy link
Copy Markdown
Contributor Author

Thanks for your time. I've resolved all suggestions above and updated the KEP. Any other suggestions for this PR?
@andreyvelich @Electronic-Waste @rudeigerc

@andreyvelich andreyvelich left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the update @Doris-xm!
Overall lgtm, just a few comments

cc @vsoch in case you want to check KEP to support Gang-Scheduling w/ Volcano for KF Trainer.

Comment thread docs/proposals/2437-volcano-scheduler/README.md Outdated
Comment thread docs/proposals/2437-volcano-scheduler/README.md Outdated
Comment thread docs/proposals/2437-volcano-scheduler/README.md
Signed-off-by: Xinmin Du <2812493086@qq.com>
@Doris-xm

Doris-xm commented Jul 31, 2025

Copy link
Copy Markdown
Contributor Author

Based on the latest discussion:

  1. We keep the networkTopology field in podGroupPolicy (volcano): feat(docs): KEP-2437-Support Volcano Scheduler in Kubeflow Trainer V2 #2672 (comment)
  2. We follows the declarative style of Kubernetes APIs. The presence of fields under volcano implies that the Volcano plugin is enabled: feat(docs): KEP-2437-Support Volcano Scheduler in Kubeflow Trainer V2 #2672 (comment)

Any other suggestions for this PR? @andreyvelich @Electronic-Waste @rudeigerc Thanks for your time!

@andreyvelich andreyvelich left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for this effort @Doris-xm!
Feel free to un-hold!
/lgtm
/approve

/hold

Comment thread docs/proposals/2437-volcano-scheduler/README.md Outdated
Comment thread docs/proposals/2437-volcano-scheduler/README.md
Comment thread docs/proposals/2437-volcano-scheduler/README.md
Comment thread docs/proposals/2437-volcano-scheduler/README.md
Signed-off-by: Xinmin Du <2812493086@qq.com>
Signed-off-by: Xinmin Du <2812493086@qq.com>
Signed-off-by: Xinmin Du <2812493086@qq.com>
@google-oss-prow google-oss-prow Bot removed the lgtm label Aug 1, 2025

@tenzen-y tenzen-y left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!
/lgtm
/approve

/hold cancel

Comment thread docs/proposals/2437-volcano-scheduler/README.md
@google-oss-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: andreyvelich, Electronic-Waste, tenzen-y

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

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [Electronic-Waste,andreyvelich,tenzen-y]

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

@google-oss-prow
google-oss-prow Bot merged commit cfc25d5 into kubeflow:master Aug 1, 2025
18 checks passed
@google-oss-prow google-oss-prow Bot added this to the v2.1 milestone Aug 1, 2025
alexxfan pushed a commit to red-hat-data-services/trainer that referenced this pull request Nov 24, 2025
…kubeflow#2672)

* doc: KEP creation

Signed-off-by: Xinmin Du <2812493086@qq.com>

* fix: pre-commit fix

Signed-off-by: Xinmin Du <2812493086@qq.com>

* Update docs/proposals/2437-volcano-scheduler/README.md

Co-authored-by: Shao Wang <2690692950@qq.com>
Signed-off-by: Du Xinmin <2812493086@qq.com>

* Update docs/proposals/2437-volcano-scheduler/README.md

Co-authored-by: Shao Wang <2690692950@qq.com>
Signed-off-by: Du Xinmin <2812493086@qq.com>

* Update docs/proposals/2437-volcano-scheduler/README.md

Co-authored-by: Shao Wang <2690692950@qq.com>
Signed-off-by: Du Xinmin <2812493086@qq.com>

* Update docs/proposals/2437-volcano-scheduler/README.md

Co-authored-by: Shao Wang <2690692950@qq.com>
Signed-off-by: Du Xinmin <2812493086@qq.com>

* Update docs/proposals/2437-volcano-scheduler/README.md

Co-authored-by: Shao Wang <2690692950@qq.com>
Signed-off-by: Du Xinmin <2812493086@qq.com>

* Update docs/proposals/2437-volcano-scheduler/README.md

Co-authored-by: Shao Wang <2690692950@qq.com>
Signed-off-by: Du Xinmin <2812493086@qq.com>

* Update docs/proposals/2437-volcano-scheduler/README.md

Co-authored-by: Shao Wang <2690692950@qq.com>
Signed-off-by: Du Xinmin <2812493086@qq.com>

* Update docs/proposals/2437-volcano-scheduler/README.md

Co-authored-by: Shao Wang <2690692950@qq.com>
Signed-off-by: Du Xinmin <2812493086@qq.com>

* fix: syntax err

Signed-off-by: Xinmin Du <2812493086@qq.com>

* fix: change the example

Signed-off-by: Xinmin Du <2812493086@qq.com>

* fix: change the explanation for fig.

Signed-off-by: Xinmin Du <2812493086@qq.com>

* fix: remove unused part

Signed-off-by: Xinmin Du <2812493086@qq.com>

* feat: add test plan

Signed-off-by: Xinmin Du <2812493086@qq.com>

* fix

Signed-off-by: Xinmin Du <2812493086@qq.com>

* fix: update examples

Signed-off-by: Xinmin Du <2812493086@qq.com>

* Update docs/proposals/2437-volcano-scheduler/README.md

Co-authored-by: Shao Wang <2690692950@qq.com>
Signed-off-by: Du Xinmin <2812493086@qq.com>

* Update docs/proposals/2437-volcano-scheduler/README.md

Co-authored-by: Shao Wang <2690692950@qq.com>
Signed-off-by: Du Xinmin <2812493086@qq.com>

* Update docs/proposals/2437-volcano-scheduler/README.md

Co-authored-by: Shao Wang <2690692950@qq.com>
Signed-off-by: Du Xinmin <2812493086@qq.com>

* Update docs/proposals/2437-volcano-scheduler/README.md

Co-authored-by: Shao Wang <2690692950@qq.com>
Signed-off-by: Du Xinmin <2812493086@qq.com>

* Update docs/proposals/2437-volcano-scheduler/README.md

Co-authored-by: Shao Wang <2690692950@qq.com>
Signed-off-by: Du Xinmin <2812493086@qq.com>

* fix: reword "integrate with Volcano" to "apply PodGroup"

Signed-off-by: Xinmin Du <2812493086@qq.com>

* docs: add code block with VolcanoPodPolicySource struct

Signed-off-by: Xinmin Du <2812493086@qq.com>

* fix: declare permissions with kubebuilder

Signed-off-by: Xinmin Du <2812493086@qq.com>

* fix: pre-commit fix

Signed-off-by: Xinmin Du <2812493086@qq.com>

* Update docs/proposals/2437-volcano-scheduler/README.md

Co-authored-by: Yuchen Cheng <rudeigerc@gmail.com>
Signed-off-by: Du Xinmin <2812493086@qq.com>

* fix: inaccurate description

Signed-off-by: Xinmin Du <2812493086@qq.com>

* fix: modify code example & remove unnecessary installation step

Signed-off-by: Xinmin Du <2812493086@qq.com>

* fix: update test plan

Signed-off-by: Xinmin Du <2812493086@qq.com>

* fix: a few nits

Signed-off-by: Xinmin Du <2812493086@qq.com>

* Update docs/proposals/2437-volcano-scheduler/README.md

Co-authored-by: Shao Wang <2690692950@qq.com>
Signed-off-by: Du Xinmin <2812493086@qq.com>

* Update docs/proposals/2437-volcano-scheduler/README.md

Co-authored-by: Shao Wang <2690692950@qq.com>
Signed-off-by: Du Xinmin <2812493086@qq.com>

* Update docs/proposals/2437-volcano-scheduler/README.md

Co-authored-by: Andrey Velichkevich <andrey.velichkevich@gmail.com>
Signed-off-by: Du Xinmin <2812493086@qq.com>

* Update docs/proposals/2437-volcano-scheduler/README.md

Co-authored-by: Andrey Velichkevich <andrey.velichkevich@gmail.com>
Signed-off-by: Du Xinmin <2812493086@qq.com>

* fix: code block format

Signed-off-by: Xinmin Du <2812493086@qq.com>

* fix: omit minTaskMember

Signed-off-by: Xinmin Du <2812493086@qq.com>

* fix: configure queue in annotation

Signed-off-by: Xinmin Du <2812493086@qq.com>

* fix: trim trail whitespace

Signed-off-by: Xinmin Du <2812493086@qq.com>

* Update docs/proposals/2437-volcano-scheduler/README.md

Co-authored-by: Shao Wang <2690692950@qq.com>
Signed-off-by: Du Xinmin <2812493086@qq.com>

* fix: Sedna case in Motivation

Signed-off-by: Xinmin Du <2812493086@qq.com>

* fix: configure priorityClassName from pod spec

Signed-off-by: Xinmin Du <2812493086@qq.com>

* fix: rm PodGroupInterface

Signed-off-by: Xinmin Du <2812493086@qq.com>

* fix: explain `queue` override

Signed-off-by: Xinmin Du <2812493086@qq.com>

* feat: Volcano Scheduler Plugin Configuration

Signed-off-by: Xinmin Du <2812493086@qq.com>

---------

Signed-off-by: Xinmin Du <2812493086@qq.com>
Signed-off-by: Du Xinmin <2812493086@qq.com>
Co-authored-by: Shao Wang <2690692950@qq.com>
Co-authored-by: Yuchen Cheng <rudeigerc@gmail.com>
Co-authored-by: Andrey Velichkevich <andrey.velichkevich@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants