-
Notifications
You must be signed in to change notification settings - Fork 7k
[Docs][KubeRay] Add Volcano RayJob gang scheduling example #58320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request adds a new documentation section demonstrating how to use Volcano for gang scheduling with RayJob. The example is clear and walks through a practical scenario. I've provided a few suggestions to improve clarity, consistency, and the long-term stability of the documentation, such as using versioned URLs for examples and clarifying the description of the sample YAML file.
| First, Create a RayJob | ||
|
|
||
| ```shell | ||
| curl -LO https://raw.githubusercontent.com/ray-project/kuberay/master/ray-operator/config/samples/ray-job.volcano-scheduler-queue.yaml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The URL for the sample YAML file points to the master branch. For documentation, it's a best practice to link to a specific version tag (e.g., v1.5.0) instead of a branch. This ensures that the example remains valid and reproducible even if the file on the master branch changes in the future.
| curl -LO https://raw.githubusercontent.com/ray-project/kuberay/master/ray-operator/config/samples/ray-job.volcano-scheduler-queue.yaml | |
| curl -LO https://raw.githubusercontent.com/ray-project/kuberay/v1.5.0/ray-operator/config/samples/ray-job.volcano-scheduler-queue.yaml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think fixed version will be better, cc @win5923
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, changed to use v1.5.0-rc.0.
b58c683
|
Hi @Future-Outlier and @rueian ,PTAL when you have time. Thanks! |
ad81daa to
99d7bb0
Compare
Signed-off-by: win5923 <ken89@kimo.com>
547a2a5 to
d8270b2
Compare
Future-Outlier
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
overall LGTM, thank you!!!
@win5923
| First, Create a RayJob | ||
|
|
||
| ```shell | ||
| curl -LO https://raw.githubusercontent.com/ray-project/kuberay/master/ray-operator/config/samples/ray-job.volcano-scheduler-queue.yaml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think fixed version will be better, cc @win5923
| ### Step 6: Use Volcano for RayJob gang scheduling | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, this is better. Fixed in b58c683
Signed-off-by: win5923 <ken89@kimo.com>
|
Will update Yunikorn's in another PR. thanks for the review! |
Future-Outlier
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, cc @jjyao for merge.
…ct#58320) Signed-off-by: win5923 <ken89@kimo.com>
…ct#58320) Signed-off-by: win5923 <ken89@kimo.com>
…ct#58320) Signed-off-by: win5923 <ken89@kimo.com> Signed-off-by: Aydin Abiar <aydin@anyscale.com>
…ct#58320) Signed-off-by: win5923 <ken89@kimo.com>


Description
Starting with KubeRay 1.5.0, KubeRay supports gang scheduling for RayJob custom resources.
Add a example in KubeRay integration with Volcano doc.
Related issues
Related to ray-project/kuberay#3972
Additional information
None.