Skip to content

[Doc][KubeRay] Add a doc for scheduler plugins - #53846

Merged
jjyao merged 5 commits into
ray-project:masterfrom
kevin85421:20250615-devbox1-tmux1-ray1
Jun 19, 2025
Merged

jjyao merged 5 commits into
ray-project:masterfrom
kevin85421:20250615-devbox1-tmux1-ray1

Conversation

@kevin85421

@kevin85421 kevin85421 commented Jun 16, 2025 •

Copy link
Copy Markdown
Member

Why are these changes needed?

Add a doc for scheduler plugins

Related issue number

Checks

Signed-off-by: kaihsun <[email protected]>

@MortalHappiness MortalHappiness 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.

Doc build failed. You need to add this doc to toctree.


Note that there are two modes for installing the scheduler plugins: **single scheduler mode** or **second scheduler mode**.

For KubeRay v1.4.0, KubeRay only supports the **single scheduler mode**.

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.

Have you already tried both modes and confirmed that it only works with the single scheduler mode?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

It doesn't work with the second scheduler although Step 4 is the same.

I tried to deploy a RayCluster with 1 CPU for the head Pod and 1000 CPUs for the worker Pods. The head Pod will still be scheduled when gang scheduling is enabled.

Signed-off-by: kaihsun <[email protected]>
Signed-off-by: kaihsun <[email protected]>
@kevin85421
kevin85421 marked this pull request as ready for review June 16, 2025 17:58
@kevin85421
kevin85421 requested review from a team and pcmoritz as code owners June 16, 2025 17:58
@kevin85421 kevin85421 added the go add ONLY when ready to merge, run all tests label Jun 16, 2025

@MortalHappiness MortalHappiness 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.

Approved from technical side. Waiting for doc team's approval.

@kevin85421

Copy link
Copy Markdown
Member Author

cc @dayshah would you mind approving this PR? Thanks!

@angelinalg angelinalg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Just some style nits. Thank you for contributing to docs.

kevin85421 and others added 2 commits June 18, 2025 14:19
Co-authored-by: angelinalg <[email protected]>
Signed-off-by: Kai-Hsun Chen <[email protected]>
Signed-off-by: kaihsun <[email protected]>
@kevin85421

Copy link
Copy Markdown
Member Author

Thanks @MortalHappiness @angelinalg for the review!

@kevin85421

Copy link
Copy Markdown
Member Author

cc @jjyao @edoakes would you mind merging this PR? Thanks!

@jjyao
jjyao merged commit 840fb8a into ray-project:master Jun 19, 2025
minerharry pushed a commit to minerharry/ray that referenced this pull request Jun 27, 2025
Signed-off-by: kaihsun <[email protected]>
Signed-off-by: Kai-Hsun Chen <[email protected]>
Co-authored-by: angelinalg <[email protected]>
elliot-barn pushed a commit that referenced this pull request Jul 2, 2025
Signed-off-by: kaihsun <[email protected]>
Signed-off-by: Kai-Hsun Chen <[email protected]>
Co-authored-by: angelinalg <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

go add ONLY when ready to merge, run all tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants