-
Notifications
You must be signed in to change notification settings - Fork 402
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
RayService: Dev RayService CR and Controller logic #287
Conversation
Great. I will have a check tomorrow |
Thanks! I would like to collect review comments first and then at the same time add tests. |
@pcmoritz @sriram-anyscale @yiranwang52 we would love to get your review here as well! Thanks |
@shrekris-anyscale please review the Serve schema portion |
num_cpus: 0.1 | ||
runtime_env: | ||
py_modules: | ||
- "https://github.com/shrekris-anyscale/test_deploy_group/archive/HEAD.zip" |
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.
@shrekris-anyscale can you please transfer the repo to ray-project?
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.
or make a copy
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 made a new repo and transferred the code. @brucez-anyscale Could you try using this repo instead? The py_modules
link should be https://github.com/ray-project/test_deploy_group/archive/67971777e225600720f91f618cdfe71fc47f60ee.zip (the hash pins the code to the current commit).
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.
what about test_module
?
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.
Ah, I hadn't ported that one yet. Can you try this link:
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.
Can someone help me understand how these zip are generated and why there're two zips needed? does it support S3 or GCS?
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.
@shrekris-anyscale could you help to improve the runtime_env config to make them general enough that we can merge it in the kuberay repo? Thanks!
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.
@Jeffwan We're using two zip files in this case for testing purposes. They're essentially two different codebases. See this documentation for how these zip files are generated. You can also use S3 and GCS, but GitHub is convenient when writing tests because people can pull or push new code and update the URL more easily.
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 synced with @brucez-anyscale offline. The runtime_env can use S3 and Google Storage URLs, but GitHub is more convenient for testing.
A couple of spelling nits, but lgtm! I think we can add some tests now. |
Thanks for adding the unit tests! |
It will be followup prs. |
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 looks good. Please cut follow up issues and we can track the progress. @brucez-anyscale excellent work! |
* Implement RayService CRD and controller * Update config and controller * update * update * refactor * goimports * goimports * address comments * address comments * address comments * address comments * address comments * address comments * address comments * add unit tests * fix ut * Update yaml * update ut * update
Why are these changes needed?
This is the implementation of RayService and its controller.
Includes:
Related issue number
Checks