Skip to content

[Docs][KubeRay] Update all KubeRay version references for KubeRay 1.4.0 release - #53884

Merged
jjyao merged 16 commits into
ray-project:masterfrom
MortalHappiness:docs/kuberay-docs-1.4.0
Jun 30, 2025
Merged

jjyao merged 16 commits into
ray-project:masterfrom
MortalHappiness:docs/kuberay-docs-1.4.0

Conversation

@MortalHappiness

@MortalHappiness MortalHappiness commented Jun 17, 2025 •

Copy link
Copy Markdown
Member

Why are these changes needed?

This PR updates KubeRay version from 1.3.0 to 1.4.0 and Ray version from 2.41.0 to 2.46.0 in all KubeRay docs, except for some sentences like "Starting from Ray 2.41.0".

Related issue number

N/A

Checks

@MortalHappiness MortalHappiness added the go add ONLY when ready to merge, run all tests label Jun 20, 2025
Signed-off-by: Chi-Sheng Liu <[email protected]>
@MortalHappiness
MortalHappiness force-pushed the docs/kuberay-docs-1.4.0 branch from 870589c to e88d747 Compare June 21, 2025 13:04
@MortalHappiness
MortalHappiness marked this pull request as ready for review June 24, 2025 15:46
Copilot AI review requested due to automatic review settings June 24, 2025 15:46
@MortalHappiness
MortalHappiness requested review from a team, kevin85421 and pcmoritz as code owners June 24, 2025 15:46

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.cfg to 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

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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not found.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can put in Ray repo. You can add in this PR.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This issue no longer exists because this doc is removed in #54057

Signed-off-by: Chi-Sheng Liu <[email protected]>
@MortalHappiness
MortalHappiness force-pushed the docs/kuberay-docs-1.4.0 branch from 95930ec to 4bf4e39 Compare June 24, 2025 16:42
@kevin85421

Copy link
Copy Markdown
Member

It's pretty hard to read.

image

@kevin85421

Copy link
Copy Markdown
Member

We should seriously consider removing all doctests; they make documentation changes, reviews, and the release process more complex.

@MortalHappiness
MortalHappiness marked this pull request as draft June 25, 2025 08:41
@MortalHappiness

Copy link
Copy Markdown
Member Author

Turned this PR into a draft for now. Will wait for #54072 to convert all doctests back to markdown docs before proceeding.

@MortalHappiness
MortalHappiness marked this pull request as ready for review June 28, 2025 09:16
Comment thread ci/k8s/rerun-kuberay-doc-ipynb.sh Resolved
Comment thread ci/k8s/test-constants.sh Resolved
Signed-off-by: Chi-Sheng Liu <[email protected]>
@kevin85421

Copy link
Copy Markdown
Member

cc @jjyao @edoakes would you mind enabling the auto-merge? Thanks.

@jjyao
jjyao merged commit 7178187 into ray-project:master Jun 30, 2025
elliot-barn pushed a commit that referenced this pull request Jul 2, 2025
….0 release (#53884)

Signed-off-by: Chi-Sheng Liu <[email protected]>
Co-authored-by: Copilot <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
MengjinYan pushed a commit that referenced this pull request Mar 20, 2026
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]>
ryanaoleary pushed a commit to ryanaoleary/ray that referenced this pull request Mar 25, 2026
…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]>
Lucas61000 pushed a commit to Lucas61000/ray that referenced this pull request May 15, 2026
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

go add ONLY when ready to merge, run all tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants