-
Notifications
You must be signed in to change notification settings - Fork 6k
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
[Docs][KubeRay] Update doc for kubectl-plugin #49890
Conversation
|
||
### Submit A Ray Job | ||
|
||
This is a wrapper around the `ray job submit` command. The plugin can automatically forward the ports to the Ray cluster and submit the job. |
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.
We should add more details here that running kubectl ray job submit
not only runs ray job submit
, but also provisions the ephemeral cluster used to execute the job
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.
Changed, PTAL!
f99d500
to
e9c1f74
Compare
I have already pinged our doc team to review this PR. |
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.
Some style nits and a sentence that seems incomplete.
|
||
### Create a Ray Cluster | ||
|
||
This allows users to creates a valid RayCluster. The default values are follows: |
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 there's a problem here. Is there a command missing?
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 updated the wording, PTAL
print(ray.get(futures)) # [0, 1, 4, 9] | ||
``` | ||
|
||
#### Submit Ray Job without 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.
#### Submit Ray Job without yaml | |
#### Submit a Ray job without a YAML file |
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.
Is this supposed to be a Ray job
or a RayJob
?
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 Ray job
is fine
Signed-off-by: Aaron Liang <[email protected]>
Signed-off-by: Aaron Liang <[email protected]> Signed-off-by: Eric Tang <[email protected]>
Signed-off-by: Aaron Liang <[email protected]>
Why are these changes needed?
This PR updates the documentation for the ray kubectl-plugin that is part of the KubeRay v1.3 release
Related issue number
Checks
git commit -s
) in this PR.scripts/format.sh
to lint the changes in this PR.method in Tune, I've added it in
doc/source/tune/api/
under thecorresponding
.rst
file.