-
Notifications
You must be signed in to change notification settings - Fork 618
[RayJob] add Light-weight RayJob Submitter #3943
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
[RayJob] add Light-weight RayJob Submitter #3943
Conversation
9806077
to
c4e0317
Compare
Signed-off-by: You-Cheng Lin (Owen) <mses010108@gmail.com>
Signed-off-by: You-Cheng Lin (Owen) <mses010108@gmail.com>
Signed-off-by: You-Cheng Lin (Owen) <mses010108@gmail.com>
Signed-off-by: You-Cheng Lin (Owen) <mses010108@gmail.com>
Signed-off-by: You-Cheng Lin (Owen) <mses010108@gmail.com>
903ad31
to
ba022a0
Compare
Signed-off-by: You-Cheng Lin (Owen) <mses010108@gmail.com>
Signed-off-by: You-Cheng Lin (Owen) <mses010108@gmail.com>
6e62858
to
1f25222
Compare
Signed-off-by: You-Cheng Lin (Owen) <mses010108@gmail.com>
Signed-off-by: You-Cheng Lin (Owen) <mses010108@gmail.com>
Signed-off-by: You-Cheng Lin (Owen) <mses010108@gmail.com>
Signed-off-by: You-Cheng Lin (Owen) <mses010108@gmail.com>
Signed-off-by: You-Cheng Lin (Owen) <mses010108@gmail.com>
0f1a128
to
ed7a9b9
Compare
Signed-off-by: You-Cheng Lin (Owen) <mses010108@gmail.com>
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.
Would it be better to have an individual directory out of ray-operator? It seems the submitter's code doesn't rely on the ray-operator.
Co-authored-by: fscnick <6858627+fscnick@users.noreply.github.com> Signed-off-by: Owen Lin (You-Cheng Lin) <106612301+owenowenisme@users.noreply.github.com>
I have no strong opinion for this cc @rueian @Future-Outlier @kevin85421 WDYT? |
ray-operator/config/samples/ray-job.light-weight-submitter.yaml
Outdated
Show resolved
Hide resolved
Signed-off-by: You-Cheng Lin (Owen) <mses010108@gmail.com>
Signed-off-by: You-Cheng Lin (Owen) <mses010108@gmail.com>
Signed-off-by: You-Cheng Lin (Owen) <mses010108@gmail.com>
Signed-off-by: You-Cheng Lin (Owen) <mses010108@gmail.com>
Signed-off-by: You-Cheng Lin (Owen) <mses010108@gmail.com>
e9eb9f5
to
a4f8ec5
Compare
Signed-off-by: You-Cheng Lin (Owen) <mses010108@gmail.com>
Signed-off-by: You-Cheng Lin (Owen) <mses010108@gmail.com>
Signed-off-by: You-Cheng Lin (Owen) <mses010108@gmail.com>
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 for the hard work!
abdddc6
to
67ec8b5
Compare
67ec8b5
to
75eba73
Compare
ray-operator/controllers/ray/utils/dashboardclient/dashboard_httpclient.go
Outdated
Show resolved
Hide resolved
…ttpclient.go Signed-off-by: Rueian <rueiancsie@gmail.com>
restartPolicy: Never | ||
containers: | ||
- name: my-custom-rayjob-submitter | ||
image: kuberay/submitter:nightly |
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.
Note that we'll need to change image here once the light-weight submitter image is released
@owenowenisme is this image published on hub.docker.com? or another CR? |
Hi, @ronaldo-valente-sgpiu, it will be released along with KubeRay 1.15.0 . |
Why are these changes needed?
Closes #2537
This PR builds on @rueian’s work in PR #2587, with several improvements and refactoring. Many thanks to @rueian for the original contribution!
RayJobRequest
type directly in the submitter code, avoiding the need to import the entire ray utils package. Note: If the type changes, updates will be required in two places.-ldflags="-w -s"
to the build process to further optimize binary size.Image Release Validation
To validate my changes in release image workflow, I ran the workflow on my local repo. And since I don't have quay account, I modified the image registry to ghcr on my local repo for testing purpose. (But this PR still uses quay)
I created a tag named
v0.0.0-test-submitter-ci
and manually run the build and release submitter image on it.Workflow ran successfully and you can see that the image has been pushed to ghcr with multi-arch.
https://github.com/owenowenisme/kuberay/actions/runs/17117052455/job/48550113929
https://github.com/owenowenisme/kuberay/pkgs/container/submitter

Related issue number
Checks