Skip to content

[Doc] Fix docs for KubeRay v1.7 - #65513

Merged
rueian merged 2 commits into
ray-project:masterfrom
machichima:1.7-fix-docs
Aug 21, 2026
Merged

rueian merged 2 commits into
ray-project:masterfrom
machichima:1.7-fix-docs

Conversation

@machichima

Copy link
Copy Markdown
Contributor

Description

Found some bug in the docs while testing with v1.7.0-rc.0. This is the PR updating those docs.

  1. doc/source/cluster/kubernetes/user-guides/k8s-events.md: official ray image does not include kubernetes Python package
  2. doc/source/cluster/kubernetes/user-guides/network-policy.md: set a wrong field, should be networkPolicy

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: machichima <[email protected]>

@gemini-code-assist gemini-code-assist Bot 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.

Code Review

This pull request updates the Ray Kubernetes documentation, specifically clarifying the installation of the Kubernetes Python client for platform events and updating the Network Policy configuration example to use the correct networkPolicy structure. Feedback on the changes points out a contradiction in the platform events guide regarding whether official Ray images include the kubernetes package, which should be corrected to avoid misleading users.

@ray-gardener ray-gardener Bot added docs An issue or change related to documentation core Issues that should be addressed in Ray Core community-contribution Contributed by the community labels Aug 16, 2026
@rueian rueian added the go add ONLY when ready to merge, run all tests label Aug 17, 2026
Signed-off-by: machichima <[email protected]>
@rueian
rueian merged commit 7b8ebcb into ray-project:master Aug 21, 2026
6 checks passed
dstrodtman added a commit that referenced this pull request Aug 28, 2026
## 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]>
nadongjun pushed a commit to nadongjun/ray that referenced this pull request Oct 6, 2026
## Description
Found some bug in the docs while testing with `v1.7.0-rc.0`. This is the
PR updating those docs.

1. `doc/source/cluster/kubernetes/user-guides/k8s-events.md`: official
ray image does not include `kubernetes` Python package
2. `doc/source/cluster/kubernetes/user-guides/network-policy.md`: set a
wrong field, should be `networkPolicy`

## 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: machichima <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-contribution Contributed by the community core Issues that should be addressed in Ray Core docs An issue or change related to documentation go add ONLY when ready to merge, run all tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ray fails to serialize self-reference objects

3 participants