kuberay
kuberay copied to clipboard
[Bug] working_dir in RayService can only pull from https link?
Search before asking
- [X] I searched the issues and found no similar issues.
KubeRay Component
ray-operator
What happened + What you expected to happen
I am testing ray serve using the ray service sample . It worked when the work_dir points to a github archive zip file but the service failed to deploy when it pointed to a local directory such as "./script". The folder contains the same content I pushed to github.
Reproduction script
Point the working_dir to a local directory
Anything else
No response
Are you willing to submit a PR?
- [ ] Yes I am willing to submit a PR!
/cc @simon-mo @brucez-anyscale
Yeah, I think it is how it works. Since Ray Service runs in k8s cluster, it cannot read local files as you directly run Ray Serve locally. So it supports github, or it supports s3. @simon-mo Correct me if I am wrong.
If the "local directory" means a directory in the docker image, then it should work!
Feel free to reopen this issue if you have any further questions.