Repository navigation
[Docs][KubeRay] Update all KubeRay version references for KubeRay 1.4.0 release - #53884
Conversation
Signed-off-by: Chi-Sheng Liu <[email protected]>
Signed-off-by: Chi-Sheng Liu <[email protected]>
Signed-off-by: Chi-Sheng Liu <[email protected]>
870589c to
e88d747
Compare
Signed-off-by: Chi-Sheng Liu <[email protected]>
Signed-off-by: Chi-Sheng Liu <[email protected]>
Signed-off-by: Chi-Sheng Liu <[email protected]>
Signed-off-by: Chi-Sheng Liu <[email protected]>
Signed-off-by: Chi-Sheng Liu <[email protected]>
Signed-off-by: Chi-Sheng Liu <[email protected]>
Signed-off-by: Chi-Sheng Liu <[email protected]>
There was a problem hiding this comment.
Pull Request Overview
This PR prepares documentation and test scripts for the KubeRay 1.4.0 release by updating version references from 1.3.0→1.4.0 (and Ray 2.41.0→2.46.0) across user guides, adding convenience scripts for doc testing, and adjusting notebook sanitization rules.
- Bumped KubeRay and Ray version tags in all Kubernetes user guide markdown files.
- Refactored doctest utilities: centralized constants, parameterized Ray version, and added a notebook rerun script.
- Modified
doc_sanitize.cfgto update regex placeholders for generated pod names.
Reviewed Changes
Copilot reviewed 25 out of 30 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| doc/source/cluster/kubernetes/user-guides/upgrade-guide.md | Updated upgrade examples to use KubeRay v1.4.0 |
| doc/source/cluster/kubernetes/user-guides/*.md | Bumped all v1.3.0→v1.4.0 and Ray 2.41.0→2.46.0 in TLS, RayService, observability, etc. |
| doc/source/cluster/kubernetes/scripts/doctest-utils.sh | Changed KUBERAY_VERSION to 1.4.0, removed unused CLI dispatch, added jq alias |
| ci/k8s/test-constants.sh | Introduced RAY_VERSION and DOC_TESTS array for notebooks |
| ci/k8s/run-kuberay-doc-tests.sh | Sourced constants, installed ray[default]==${RAY_VERSION}, iterated over DOC_TESTS with -v |
| ci/k8s/rerun-kuberay-doc-ipynb.sh | New script to execute all notebooks in-place via jupyter nbconvert |
| doc/source/cluster/kubernetes/doc_sanitize.cfg | Updated placeholder sections and regexes for pod names |
Co-authored-by: Copilot <[email protected]> Signed-off-by: Chi-Sheng Liu <[email protected]>
| cd serve_config_examples/mobilenet | ||
|
|
||
| # Prepare a sample image file. `stable_diffusion_example.png` is a cat image generated by the Stable Diffusion model. | ||
| curl -O https://raw.githubusercontent.com/ray-project/kuberay/v1.3.0/docs/images/stable_diffusion_example.png |
There was a problem hiding this comment.
I found that the folder was deleted in kuberay-project/kuberay#3322. Should we put those images in ray repo? And should I do that in this PR or separate PR?
There was a problem hiding this comment.
We can put in Ray repo. You can add in this PR.
There was a problem hiding this comment.
This issue no longer exists because this doc is removed in #54057
Signed-off-by: Chi-Sheng Liu <[email protected]>
95930ec to
4bf4e39
Compare
|
We should seriously consider removing all doctests; they make documentation changes, reviews, and the release process more complex. |
|
Turned this PR into a draft for now. Will wait for #54072 to convert all doctests back to markdown docs before proceeding. |
Signed-off-by: Chi-Sheng Liu <[email protected]>
Signed-off-by: Chi-Sheng Liu <[email protected]>
Signed-off-by: Chi-Sheng Liu <[email protected]>
….0 release (#53884) Signed-off-by: Chi-Sheng Liu <[email protected]> Co-authored-by: Copilot <[email protected]> Signed-off-by: elliot-barn <[email protected]>
the prompt I used with claude Opus 4.6 (1M context), max mode: ``` Update all KubeRay version references to 1.6.0 in the ray-project/ray documentation. For example, the docs may contain: helm install kuberay-operator --version 1.5.0 helm install kuberay-operator --version 1.6.0 Reference these previous version bump PRs for the pattern of which files and version strings to update: - #58885 - #58452 - #53884 Update everything related to the KubeRay operator version to 1.6.0. If unsure about any specific reference, ask before changing. Check every file. ``` Decision log for edge cases ```┌─────┬──────────────────────────────────────┬────────────────────────────────────────────────────┬──────────────────────┬──────────────────────────────────────────────┐ │ # │ File │ Question │ Decision │ Principle │ ├─────┼──────────────────────────────────────┼────────────────────────────────────────────────────┼──────────────────────┼──────────────────────────────────────────────┤ │ 1 │ observability.md │ --version 1.2.2 was never updated by previous PRs. │ Keep as-is │ Needs more careful review; skipped by all 3 │ │ │ │ Update to 1.6.0? │ │ previous version bump PRs for a reason. │ ├─────┼──────────────────────────────────────┼────────────────────────────────────────────────────┼──────────────────────┼──────────────────────────────────────────────┤ │ │ │ │ │ Out of scope — this is in the Serve docs, │ │ 2 │ serve/production-guide/kubernetes.md │ kuberay/blob/v1.0.0 reference. Update? │ Don't change │ not the KubeRay cluster docs. Previous PRs │ │ │ │ │ │ never touched it. │ ├─────┼──────────────────────────────────────┼────────────────────────────────────────────────────┼──────────────────────┼──────────────────────────────────────────────┤ │ │ │ deletionStrategy (Optional, alpha in v1.5.1) — │ Write both: alpha in │ Document feature stage evolution across │ │ 3 │ rayjob-quick-start.md │ update version? │ v1.5.1, beta in │ versions. │ │ │ │ │ v1.6.0 │ │ ├─────┼──────────────────────────────────────┼────────────────────────────────────────────────────┼──────────────────────┼──────────────────────────────────────────────┤ │ │ │ "available in Ray 2.51.0 and KubeRay v1.5.1" — │ │ Historical fact about when the feature │ │ 4 │ label-based-scheduling.md │ update to v1.6.0? │ Keep v1.5.1 │ became available. Changing it would be │ │ │ │ │ │ inaccurate. │ ├─────┼──────────────────────────────────────┼────────────────────────────────────────────────────┼──────────────────────┼──────────────────────────────────────────────┤ │ │ │ "minimum version for this guide is v1.5.1" and │ │ Historical fact about feature introduction │ │ 5 │ rayservice-incremental-upgrade.md │ "implemented with alpha support in KubeRay v1.5.1" │ Keep v1.5.1 │ and minimum version requirement. │ │ │ │ — update? │ │ │ └─────┴──────────────────────────────────────┴────────────────────────────────────────────────────┴──────────────────────┴──────────────────────────────────────────────┘ ``` General principles applied - Current version pointers (URLs, helm commands, install steps) → Update to 1.6.0 - Historical facts (feature introduction version, minimum version requirements) → Keep original version - Feature stage changes (alpha → beta) → Write both versions to document evolution - Out-of-scope references (Serve docs, unrelated sections) → Don't change --------- Signed-off-by: Future-Outlier <[email protected]>
…roject#61865) the prompt I used with claude Opus 4.6 (1M context), max mode: ``` Update all KubeRay version references to 1.6.0 in the ray-project/ray documentation. For example, the docs may contain: helm install kuberay-operator --version 1.5.0 helm install kuberay-operator --version 1.6.0 Reference these previous version bump PRs for the pattern of which files and version strings to update: - ray-project#58885 - ray-project#58452 - ray-project#53884 Update everything related to the KubeRay operator version to 1.6.0. If unsure about any specific reference, ask before changing. Check every file. ``` Decision log for edge cases ```┌─────┬──────────────────────────────────────┬────────────────────────────────────────────────────┬──────────────────────┬──────────────────────────────────────────────┐ │ # │ File │ Question │ Decision │ Principle │ ├─────┼──────────────────────────────────────┼────────────────────────────────────────────────────┼──────────────────────┼──────────────────────────────────────────────┤ │ 1 │ observability.md │ --version 1.2.2 was never updated by previous PRs. │ Keep as-is │ Needs more careful review; skipped by all 3 │ │ │ │ Update to 1.6.0? │ │ previous version bump PRs for a reason. │ ├─────┼──────────────────────────────────────┼────────────────────────────────────────────────────┼──────────────────────┼──────────────────────────────────────────────┤ │ │ │ │ │ Out of scope — this is in the Serve docs, │ │ 2 │ serve/production-guide/kubernetes.md │ kuberay/blob/v1.0.0 reference. Update? │ Don't change │ not the KubeRay cluster docs. Previous PRs │ │ │ │ │ │ never touched it. │ ├─────┼──────────────────────────────────────┼────────────────────────────────────────────────────┼──────────────────────┼──────────────────────────────────────────────┤ │ │ │ deletionStrategy (Optional, alpha in v1.5.1) — │ Write both: alpha in │ Document feature stage evolution across │ │ 3 │ rayjob-quick-start.md │ update version? │ v1.5.1, beta in │ versions. │ │ │ │ │ v1.6.0 │ │ ├─────┼──────────────────────────────────────┼────────────────────────────────────────────────────┼──────────────────────┼──────────────────────────────────────────────┤ │ │ │ "available in Ray 2.51.0 and KubeRay v1.5.1" — │ │ Historical fact about when the feature │ │ 4 │ label-based-scheduling.md │ update to v1.6.0? │ Keep v1.5.1 │ became available. Changing it would be │ │ │ │ │ │ inaccurate. │ ├─────┼──────────────────────────────────────┼────────────────────────────────────────────────────┼──────────────────────┼──────────────────────────────────────────────┤ │ │ │ "minimum version for this guide is v1.5.1" and │ │ Historical fact about feature introduction │ │ 5 │ rayservice-incremental-upgrade.md │ "implemented with alpha support in KubeRay v1.5.1" │ Keep v1.5.1 │ and minimum version requirement. │ │ │ │ — update? │ │ │ └─────┴──────────────────────────────────────┴────────────────────────────────────────────────────┴──────────────────────┴──────────────────────────────────────────────┘ ``` General principles applied - Current version pointers (URLs, helm commands, install steps) → Update to 1.6.0 - Historical facts (feature introduction version, minimum version requirements) → Keep original version - Feature stage changes (alpha → beta) → Write both versions to document evolution - Out-of-scope references (Serve docs, unrelated sections) → Don't change --------- Signed-off-by: Future-Outlier <[email protected]>
…roject#61865) the prompt I used with claude Opus 4.6 (1M context), max mode: ``` Update all KubeRay version references to 1.6.0 in the ray-project/ray documentation. For example, the docs may contain: helm install kuberay-operator --version 1.5.0 helm install kuberay-operator --version 1.6.0 Reference these previous version bump PRs for the pattern of which files and version strings to update: - ray-project#58885 - ray-project#58452 - ray-project#53884 Update everything related to the KubeRay operator version to 1.6.0. If unsure about any specific reference, ask before changing. Check every file. ``` Decision log for edge cases ```┌─────┬──────────────────────────────────────┬────────────────────────────────────────────────────┬──────────────────────┬──────────────────────────────────────────────┐ │ # │ File │ Question │ Decision │ Principle │ ├─────┼──────────────────────────────────────┼────────────────────────────────────────────────────┼──────────────────────┼──────────────────────────────────────────────┤ │ 1 │ observability.md │ --version 1.2.2 was never updated by previous PRs. │ Keep as-is │ Needs more careful review; skipped by all 3 │ │ │ │ Update to 1.6.0? │ │ previous version bump PRs for a reason. │ ├─────┼──────────────────────────────────────┼────────────────────────────────────────────────────┼──────────────────────┼──────────────────────────────────────────────┤ │ │ │ │ │ Out of scope — this is in the Serve docs, │ │ 2 │ serve/production-guide/kubernetes.md │ kuberay/blob/v1.0.0 reference. Update? │ Don't change │ not the KubeRay cluster docs. Previous PRs │ │ │ │ │ │ never touched it. │ ├─────┼──────────────────────────────────────┼────────────────────────────────────────────────────┼──────────────────────┼──────────────────────────────────────────────┤ │ │ │ deletionStrategy (Optional, alpha in v1.5.1) — │ Write both: alpha in │ Document feature stage evolution across │ │ 3 │ rayjob-quick-start.md │ update version? │ v1.5.1, beta in │ versions. │ │ │ │ │ v1.6.0 │ │ ├─────┼──────────────────────────────────────┼────────────────────────────────────────────────────┼──────────────────────┼──────────────────────────────────────────────┤ │ │ │ "available in Ray 2.51.0 and KubeRay v1.5.1" — │ │ Historical fact about when the feature │ │ 4 │ label-based-scheduling.md │ update to v1.6.0? │ Keep v1.5.1 │ became available. Changing it would be │ │ │ │ │ │ inaccurate. │ ├─────┼──────────────────────────────────────┼────────────────────────────────────────────────────┼──────────────────────┼──────────────────────────────────────────────┤ │ │ │ "minimum version for this guide is v1.5.1" and │ │ Historical fact about feature introduction │ │ 5 │ rayservice-incremental-upgrade.md │ "implemented with alpha support in KubeRay v1.5.1" │ Keep v1.5.1 │ and minimum version requirement. │ │ │ │ — update? │ │ │ └─────┴──────────────────────────────────────┴────────────────────────────────────────────────────┴──────────────────────┴──────────────────────────────────────────────┘ ``` General principles applied - Current version pointers (URLs, helm commands, install steps) → Update to 1.6.0 - Historical facts (feature introduction version, minimum version requirements) → Keep original version - Feature stage changes (alpha → beta) → Write both versions to document evolution - Out-of-scope references (Serve docs, unrelated sections) → Don't change --------- Signed-off-by: Future-Outlier <[email protected]>

Why are these changes needed?
This PR updates KubeRay version from
1.3.0to1.4.0and Ray version from2.41.0to2.46.0in all KubeRay docs, except for some sentences like "Starting from Ray 2.41.0".Related issue number
N/A
Checks
git commit -s) in this PR.scripts/format.shto lint the changes in this PR.method in Tune, I've added it in
doc/source/tune/api/under thecorresponding
.rstfile.