Repository navigation
[Docs][KubeRay] Use RayJob sample YAML for History Server docs - #65505
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates the KubeRay History Server user guide to deploy an example RayJob instead of a RayCluster with the collector sidecar, updating the manifests, environment variables, verification steps, and storage layouts accordingly. The review feedback points out an inaccuracy regarding the explanation of shutdownAfterJobFinishes and ttlSecondsAfterFinished and suggests a correction to accurately describe when the underlying RayCluster and the RayJob resource are deleted.
Signed-off-by: win5923 <[email protected]>
b1175b4 to
b58bf1d
Compare
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Jun-Hao Wan <[email protected]>
|
Please add DCO |
…er.md Co-authored-by: Nary Yeh <[email protected]> Signed-off-by: Jun-Hao Wan <[email protected]>
| Check the RayJob status. The entrypoint script takes about a minute to finish: | ||
|
|
||
| ```sh | ||
| kubectl get rayjob ${RAY_JOB} |
There was a problem hiding this comment.
I don't think we have this env var (RAY_JOB)?
There was a problem hiding this comment.
It's exported in line 127
machichima
left a comment
There was a problem hiding this comment.
Overall LGTM, just above two comments. Thank you!
Co-authored-by: Nary Yeh <[email protected]> Signed-off-by: Jun-Hao Wan <[email protected]>
…roject#65505) ## Description Update the Ray History Server with KubeRay doc to use RayJob example, this is related to kuberay-project/kuberay#5150 ## Related issues > Link related issues: "Fixes ray-project#1234", "Closes ray-project#1234", or "Related to ray-project#1234". ## Additional information > Optional: Add implementation details, API changes, usage examples, screenshots, etc. --------- Signed-off-by: win5923 <[email protected]> Signed-off-by: Jun-Hao Wan <[email protected]> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Co-authored-by: Nary Yeh <[email protected]> Signed-off-by: 400Ping <[email protected]>
…ry Server docs (#65505) (#65531) ## Description Update the Ray History Server with KubeRay doc to use RayJob example, this is related to kuberay-project/kuberay#5150 ## Related issues > Link related issues: "Fixes #1234", "Closes #1234", or "Related to #1234". ## Additional information > Optional: Add implementation details, API changes, usage examples, screenshots, etc. --------- (cherry picked from commit 23d0178) > Thank you for contributing to Ray! 🚀 > Please review the [Ray Contribution Guide](https://docs.ray.io/en/master/ray-contribute/getting-involved.html) before opening a pull request. >⚠️ Remove these instructions before submitting your PR. > 💡 Tip: Mark as draft if you want early feedback, or ready for review when it's complete. ## Description > Briefly describe what this PR accomplishes and why it's needed. ## Related issues > Link related issues: "Fixes #1234", "Closes #1234", or "Related to #1234". ## Additional information > Optional: Add implementation details, API changes, usage examples, screenshots, etc. Signed-off-by: win5923 <[email protected]> Signed-off-by: Jun-Hao Wan <[email protected]> Signed-off-by: machichima <[email protected]> Co-authored-by: Jun-Hao Wan <[email protected]> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
## Why The [KubeRay v1.7 blog](https://www.anyscale.com/blog/kuberay-v1-7) highlights several features whose docs currently live only on `master`. The corresponding pages are missing (404) or incomplete on the `latest` (2.58.0) docs build, and several blog links point at `/master` as a result. This backports the doc pages so the 2.58.0 `latest` docs cover the released KubeRay v1.7 surface. ## What (cherry-picks onto `releases/2.58.0`) | Commit | Blog feature | Gap on `latest` | |---|---|---| | #64303 | RayJob `SidecarMode` retry | new page was missing | | #65249 | RayService incremental upgrade rollback (beta) | `#rollback` section missing | | #65074 | NetworkPolicy support (alpha) | new page was missing | | #65429 | Embedded RocksDB GCS backend | example version pin missing | | #65513 | Fix docs for KubeRay v1.7 | wrong NetworkPolicy field names + incorrect `kubernetes` pip guidance | | #65483 | Customizable Ingress options | `ingressOptions` undocumented | Each commit is applied with `cherry-pick -x` (provenance preserved) and DCO sign-off. ## Not duplicating - No open PR cherry-picks these into `releases/2.58.0` (checked by PR number and by `--base releases/2.58.0`). - The two History Server refinements (#65441, #65505) are intentionally **excluded** — they already landed on `releases/2.58.0` (`c6061c10b97`, `d8277b53b0d`) and that page is already identical to `master`. - Broad, non-feature changes touching these files on `master` (llms.txt page descriptions #65115, the "Ray Pod" terminology rename #65423, the vendored CRD API reference #65428) are deliberately left out to keep this a tight, low-risk release-branch backport. ## Testing - Verified every new/changed page's `{ref}`/`{doc}` cross-reference target resolves on this branch (`fail_on_warning: true` build safety). - Verified both new toctree entries (`network-policy`, `rayjob-sidecar-submitter-restart`) point at files that exist on the branch. - Confirmed each touched file matches `master` except for the intentionally-excluded frontmatter/rename hunks above. - A full local Sphinx docs build is recommended before marking ready for review. AI assistance (Claude Code) was used to prepare this backport. --------- Signed-off-by: justinyeh1995 <[email protected]> Signed-off-by: Justin Yeh <[email protected]> Signed-off-by: JustinYeh <[email protected]> Signed-off-by: Douglas Strodtman <[email protected]> Signed-off-by: win5923 <[email protected]> Signed-off-by: Paul Nolan <[email protected]> Signed-off-by: machichima <[email protected]> Signed-off-by: wuallen57730 <[email protected]> Co-authored-by: JustinYeh <[email protected]> Co-authored-by: Jun-Hao Wan <[email protected]> Co-authored-by: Pat O'Connor <[email protected]> Co-authored-by: David Adamache <[email protected]> Co-authored-by: Paul Nolan <[email protected]> Co-authored-by: Nary Yeh <[email protected]> Co-authored-by: Lima <[email protected]>
…roject#65505) ## Description Update the Ray History Server with KubeRay doc to use RayJob example, this is related to kuberay-project/kuberay#5150 ## Related issues > Link related issues: "Fixes ray-project#1234", "Closes ray-project#1234", or "Related to ray-project#1234". ## Additional information > Optional: Add implementation details, API changes, usage examples, screenshots, etc. --------- Signed-off-by: win5923 <[email protected]> Signed-off-by: Jun-Hao Wan <[email protected]> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Co-authored-by: Nary Yeh <[email protected]>
Description
Update the Ray History Server with KubeRay doc to use RayJob example, this is related to kuberay-project/kuberay#5150
Related issues
Additional information