Repository navigation
[doc] Add a KubeRay Helm chart values reference - #65848
dstrodtman wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Code Review
This pull request restructures the KubeRay Kubernetes documentation by renaming the main reference page and adding a new reference page for Helm chart values (helm-values.md). The new page details configuration options like feature gates, environment variables, sidecar containers, logging, and Argo CD installation. The reviewer suggested an improvement to the Argo CD section, recommending the use of Server-Side Apply as a simpler alternative to splitting the installation into two applications.
| ## Install the operator with Argo CD | ||
|
|
||
| Argo CD can't apply the operator chart in one step, because the RayCluster, RayJob, RayService, and RayCronJob CRDs are too large for Argo CD to apply as a single resource. Split the installation into two Argo CD applications: | ||
|
|
||
| - The first application applies the CRDs from the chart's `crds` directory with the `Replace=true` sync option. | ||
| - The second application installs the chart with Helm's `skipCrds=true` option so it doesn't try to apply the CRDs again. | ||
|
|
||
| For the full `Application` manifests, see [Working with Argo CD](https://github.com/ray-project/kuberay/blob/master/helm-chart/kuberay-operator/README.md#working-with-argo-cd) in the operator chart README. |
There was a problem hiding this comment.
Argo CD (v2.5+) supports Server-Side Apply, which allows installing the KubeRay operator chart (including its large CRDs) in a single step/application without splitting it. This is a much simpler and highly recommended alternative to splitting the installation into two applications.
Using ServerSideApply=true as a sync option avoids the kubectl.kubernetes.io/last-applied-configuration annotation size limit.
| ## Install the operator with Argo CD | |
| Argo CD can't apply the operator chart in one step, because the RayCluster, RayJob, RayService, and RayCronJob CRDs are too large for Argo CD to apply as a single resource. Split the installation into two Argo CD applications: | |
| - The first application applies the CRDs from the chart's `crds` directory with the `Replace=true` sync option. | |
| - The second application installs the chart with Helm's `skipCrds=true` option so it doesn't try to apply the CRDs again. | |
| For the full `Application` manifests, see [Working with Argo CD](https://github.com/ray-project/kuberay/blob/master/helm-chart/kuberay-operator/README.md#working-with-argo-cd) in the operator chart README. | |
| ## Install the operator with Argo CD | |
| Argo CD cannot apply the operator chart in one step using standard kubectl apply because the RayCluster, RayJob, RayService, and RayCronJob CRDs are too large, exceeding the annotation size limit. You can resolve this in one of two ways: | |
| 1. Enable Server-Side Apply (Recommended): Configure Argo CD to use Server-Side Apply by adding ServerSideApply=true to the application syncOptions. This allows Argo CD to install the operator and CRDs in a single step. | |
| 2. Split the installation: Split the installation into two Argo CD applications: | |
| - The first application applies the CRDs from the chart crds directory with the Replace=true sync option. | |
| - The second application installs the chart with Helm skipCrds=true option so it does not try to apply the CRDs again. | |
| For the full Application manifests, see [Working with Argo CD](https://github.com/ray-project/kuberay/blob/master/helm-chart/kuberay-operator/README.md#working-with-argo-cd) in the operator chart README. |
|
This pull request has been automatically marked as stale because it has not had You can always ask for help on our discussion forum or Ray's public slack channel. If you'd like to keep this open, just leave any comment, and the stale label will be removed. |
## Description KubeRay is one of the most-visited areas of the Ray docs, but it sits two levels down under Ray Clusters, and every KubeRay URL carries a redundant `cluster/kubernetes/` prefix. This PR promotes KubeRay to a top-level entry in the left sidebar and shortens its URLs by moving the KubeRay docs from `doc/source/cluster/kubernetes/` to `doc/source/kuberay/`. It replaces the top-nav tab approach from #65438. All the Ray on Kubernetes docs move to `kuberay/`. KubeRay is the officially supported way to run Ray on Kubernetes, and the docs already removed the examples for deploying Ray manually (#53833). The few guides that apply to Ray on Kubernetes more broadly still use KubeRay for their examples, so they stay with the rest of the KubeRay docs. The old `cluster/kubernetes/index` landing page becomes a short `cluster/kubernetes.md` page under Ray Clusters. It points readers to KubeRay, says that a manual deployment is possible but not officially supported, and lists the KubeRay guides that can help with other Ray on Kubernetes deployments. The KubeRay landing page now covers only KubeRay. Previews: - [Ray on Kubernetes](https://anyscale-ray--66674.com.readthedocs.build/en/66674/cluster/kubernetes.html) - [KubeRay](https://anyscale-ray--66674.com.readthedocs.build/en/66674/kuberay/index.html) **Please review commit by commit.** Each commit is scoped so it can be signed off on its own. The PR squash-merges as one change. Commits 3 through 5 came out of an earlier round of review, which kept KubeRay-independent guides in a general `cluster/kubernetes/` section. Commits 6 through 8 reverse that: they move those guides back under KubeRay and turn the general section into a single page. If you're reviewing for the first time, read commits 3 through 5 with the reversal in mind. The final state is what commits 1, 2, and 6 through 8 describe. ## Related issues Related to #65438, which this replaces. ## Additional information ### Commit 1: path change What to sign off on: every file shows as a git rename, and the only content deltas are path references that have to move with the files. - Moves `cluster/kubernetes/` to `kuberay/`, which is 128 files, all detected as renames. The tree moves as a unit, so the relative `images/` and `configs/` paths inside it stay valid. - Renames within the move, since every URL changes anyway: - Hub pages move into their directories as `index.md`: `benchmarks`, `examples`, `getting-started`, `references`, `troubleshooting`, `user-guides`, and `k8s-ecosystem`. - `k8s-ecosystem/` becomes `ecosystem/`. - Drops the redundant `kuberay-` filename prefix from 10 pages: `getting-started/operator-installation`, and `user-guides/auth`, `auth-rbac`, `dashboard`, `gcs-ft`, `gcs-persistent-ft`, `gcs-rocksdb-ft`, `history-server`, `mtls`, `serve-high-throughput`. - Path references updated with the move: - Toctrees and `{doc}`/`:doc:`/relative Markdown links inside and outside the tree (`ray-core/`, `serve/`, `ray-observability/`, `ray-overview/`, `cluster/`). - `.github/CODEOWNERS`: same owners, new path. - `.vale.ini`: the path-scoped KubeRay style section. - `conf.py`: adds `kuberay` to `all_toc_libs`. The directory scan only picks up `ray-*` names, so without this entry `DOC_LIB=<lib>` single-library builds would stop excluding KubeRay, and `DOC_LIB=kuberay` wouldn't work. It previously rode along with `cluster`. - `/en/master/` links in the JAX trainer example `README.md` and `.ipynb`. - Path mentions in `ray-contribute/writing-style.md`, `doc/.claude/skills/rst-to-myst/SKILL.md`, and the `_ext/llms_txt.py` docstring example. - Left alone on purpose: - `(kuberay-*)=` and `(k8s-*)=` label definitions and every label-targeted ref, since labels don't depend on filenames. - Absolute `docs.ray.io/en/latest/...` and release-pinned links in prose and in `python/ray/autoscaler/_private/kuberay/autoscaling_config.py`. The redirects below cover them. Rewriting `/en/latest/` links before a release ships the new paths would break them. **Redirects** (`doc/redirects/current.yaml`): - Specific `page` rules for the 7 hubs, the `k8s-ecosystem/*` prefix, and the 10 prefix drops, placed before the directory wildcard `/cluster/kubernetes/*` → `/kuberay/:splat`. - The existing catch-all `/cluster/kubernetes/*` → `/cluster/kubernetes/index.html` moves to `from: /kuberay/*` with its `to:` unchanged, so older releases keep resolving. - `rtd-redirects validate`: 0 errors, 0 warnings. Chain notes go from 58 to 78. - `rtd-redirects simulate --prefix /cluster/kubernetes/` passes on master, latest, `releases-2.58.0`, `releases-2.40.0`, and `releases-2.20.0`: 0 regressions, 0 wrong landings, 0 new loops on every version. Final state, all eight commits, run with `--git-renames doc/source` and each release's `objects.inv` as its page set: | Version | 0 hops | 1 hop | 2 hops | 3 hops | |---|---|---|---|---| | master (after) | 0 | 271 | 11 | 11 | | latest | 97 | 240 | 16 | 0 | | releases-2.58.0 | 96 | 240 | 17 | 0 | | releases-2.40.0 | 75 | 173 | 40 | 0 | | releases-2.20.0 | 66 | 173 | 49 | 0 | Every page under `/cluster/kubernetes/` on master today reaches its new path in one hop, including the storage and image pull latency guides and the landing page itself, `/cluster/kubernetes/index.html`, which lands on `/kuberay/index.html`. No master URL resolves without a redirect, because nothing stays under `/cluster/kubernetes/`. The new `cluster/kubernetes.html` page is a new URL. The 3-hop entries on master are URLs that don't match any current page, such as pages removed before this PR. They go from `/cluster/kubernetes/<page>` to `/kuberay/<page>`, then through the `/kuberay/*` catch-all to `/cluster/kubernetes/index.html`, then through the wildcard to `/kuberay/index.html`. They land on the KubeRay landing page, which is the page they reached before. The catch-all's `to:` stays `/cluster/kubernetes/index.html` so older releases, which have no `kuberay/` directory, keep resolving without a loop. The 2-hop entries on older releases are KubeRay pages newer than that release, and they land on the same index page as before. The remaining 2-hop entries are pre-existing chains outside KubeRay, such as RLlib and Tune. **llms.txt shards.** RtD page redirects fire on any 404 path, not only `.html`. On today's master, `/en/master/cluster/kubernetes/no-such-file.txt` already 301s through the existing `/cluster/kubernetes/*` catch-all. The local build emits `kuberay/llms-full.txt`, so `/cluster/kubernetes/llms-full.txt` reaches it through the directory wildcard in one hop, with no extra rule. `simulate` reports that URL as landing on the index instead, because its page sources only list HTML pages. It reports the same URL as missing on today's master, where it returns 200. ### Commit 2: navigation What to sign off on: sidebar order only. - Root toctree: adds `KubeRay <kuberay/index>` directly above Ray Core, and moves `Ecosystem` from above Ray Core to directly below APIs. - Removes `Deploying on Kubernetes` from the Ray Clusters toctree, so KubeRay has one parent. Commit 4 restores the entry for the general section. - `navbar.yml` doesn't reference KubeRay pages, so it doesn't change. ### Commit 3: keep KubeRay-independent content in `cluster/kubernetes/` Commit 7 reverses the page moves in this commit. The config file stays where this commit puts it. What to sign off on: these files don't depend on the KubeRay operator, and they keep their master paths. - Moves back to `cluster/kubernetes/`, as git renames: - `user-guides/storage.md`, with its two images. - `user-guides/reduce-image-pull-latency.md`. - `configs/static-ray-cluster.tls.yaml`. It's a plain-Deployment Ray cluster with no KubeRay, left over from the page #53833 removed, and its only consumer is `ray-core/configure.md`. Keeping it in place means that file's raw GitHub link doesn't change at all, so existing copies of the link keep working. - `.github/CODEOWNERS`: keeps the `/doc/source/cluster/kubernetes/` entry alongside the new `/doc/source/kuberay/` one, with the same owners. - `.vale.ini`: registers the KubeRay style for both paths. - The two pages need no redirects, because RtD page redirects only fire on a 404. ### Commit 4: general Ray on Kubernetes section Commit 7 replaces this section with a single page, `cluster/kubernetes.md`. What to sign off on: navigation only, plus a minimal index page. - Adds `cluster/kubernetes/index.md` as the parent for the two general guides. It links to KubeRay for deploying and managing Ray clusters with the operator. It's intentionally short for now. - Restores `Deploying on Kubernetes` in the Ray Clusters toctree, now pointing at that page. KubeRay keeps a single parent, the root toctree. - Moves the two guides from the KubeRay user-guides toctree to the new index. The KubeRay user-guides list keeps both as cross-references. - Updates the Ray on Kubernetes path mention in `ray-contribute/writing-style.md`. ### Commit 5: landing pages Commits 6 and 8 revise both pages again. What to sign off on: prose on the two index pages. - `kuberay/index.md`: retitles the page from "Ray on Kubernetes" to "KubeRay" and rewrites the opening as an introduction to KubeRay, without the "Overview" heading. The `kuberay-index` label moves to the H1, so its existing refs keep resolving. The custom resource list adds RayCronJob, so it names all four `ray.io/v1` kinds. The page links to the general section. - `cluster/kubernetes/index.md`: lists the operators that deploy and manage Ray clusters on Kubernetes, which are KubeRay and the Anyscale operator, with a link to the Anyscale on Kubernetes docs. ### Commit 6: center the KubeRay landing page on KubeRay What to sign off on: prose on the two landing pages. - `kuberay/index.md`: removes the Anyscale paragraph. Reframes the card grid and the "Learn more" lead-in around KubeRay rather than Kubernetes in general, and sentence-cases the card titles and buttons. Folds the one-item "About KubeRay" list into prose. - `cluster/kubernetes/index.md`: cuts the Anyscale operator entry to one line that links to the Anyscale docs. ### Commit 7: move the general guides back under KubeRay What to sign off on: path changes only, with no prose edits. - Moves `storage.md`, its two images, and `reduce-image-pull-latency.md` back to `kuberay/user-guides/` as git renames, and restores both guides to the KubeRay user-guides toctree in their original positions. - Renames `cluster/kubernetes/index.md` to `cluster/kubernetes.md`, since it no longer has child pages. The Ray Clusters toctree points at the new path. - Leaves `cluster/kubernetes/configs/static-ray-cluster.tls.yaml` in place, so the raw GitHub link in `ray-core/configure.md` doesn't change. - `.github/CODEOWNERS`: adds `/doc/source/cluster/kubernetes.md` and keeps the `/doc/source/cluster/kubernetes/` entry for the config file. `.vale.ini` and `ray-contribute/writing-style.md` point at the new page path. - Needs no new redirects. The old master URLs of the two guides reach their new paths in one hop through the existing `/cluster/kubernetes/*` wildcard. ### Commit 8: rewrite the Ray on Kubernetes page What to sign off on: prose on `cluster/kubernetes.md`. - States that KubeRay is the officially supported way to run Ray on Kubernetes, and that a manual deployment without an operator is possible but not officially supported. - Keeps a one-line pointer to the Anyscale docs for the Anyscale operator. - Adds a "KubeRay guides that apply more broadly" section, which links to the storage and dependencies, image pull latency, managed Kubernetes cluster setup, and scheduling guides. Their examples use KubeRay, and the section says so. ### Out of scope - Expanding `cluster/kubernetes.md` beyond its pointer to KubeRay and the guide list. - Reworking the Ray Clusters landing page prose and cards that still describe Kubernetes as one of two deployment paths. - `user-guides/k8s-*` slugs (`k8s-autoscaler`, `k8s-cluster-setup`, `k8s-events`), `persist-kuberay-*-logs`, and `troubleshooting/troubleshooting.md`. Reviewers: if you'd like any of these renamed, say so, and it can go in a follow-up so this PR stays a pure move. ### Verification - `make -C doc rtd-build` (RtD-faithful, `-W --keep-going`) builds clean for commits 1 and 2, and for the state after commit 5: `build succeeded.`, exit 0. The RtD preview build is the check for commits 6 through 8. - `rtd-redirects validate`: 0 errors, 0 warnings on the final state. `rtd-redirects simulate` reports 0 regressions, 0 wrong landings, and 0 new loops on every version in the table above. - Rebased onto master. The only conflict was `ray-observability/ray-distributed-debugger`, which master converted from RST to MyST. Commit 1 applies its two quickstart link updates to the new `.md` file. - Commit 1 shows all 128 targets as renames in `git show --stat --find-renames`. ### Coordination Open PRs touching this directory will need a rebase onto the new paths after this merges: #65848, #65709, #65965, #66089, #65840. I'll handle those rebases. Git rename detection should carry most of them over cleanly. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Signed-off-by: Douglas Strodtman <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
## Description KubeRay is one of the most-visited areas of the Ray docs, but it sits two levels down under Ray Clusters, and every KubeRay URL carries a redundant `cluster/kubernetes/` prefix. This PR promotes KubeRay to a top-level entry in the left sidebar and shortens its URLs by moving the KubeRay docs from `doc/source/cluster/kubernetes/` to `doc/source/kuberay/`. It replaces the top-nav tab approach from ray-project#65438. All the Ray on Kubernetes docs move to `kuberay/`. KubeRay is the officially supported way to run Ray on Kubernetes, and the docs already removed the examples for deploying Ray manually (ray-project#53833). The few guides that apply to Ray on Kubernetes more broadly still use KubeRay for their examples, so they stay with the rest of the KubeRay docs. The old `cluster/kubernetes/index` landing page becomes a short `cluster/kubernetes.md` page under Ray Clusters. It points readers to KubeRay, says that a manual deployment is possible but not officially supported, and lists the KubeRay guides that can help with other Ray on Kubernetes deployments. The KubeRay landing page now covers only KubeRay. Previews: - [Ray on Kubernetes](https://anyscale-ray--66674.com.readthedocs.build/en/66674/cluster/kubernetes.html) - [KubeRay](https://anyscale-ray--66674.com.readthedocs.build/en/66674/kuberay/index.html) **Please review commit by commit.** Each commit is scoped so it can be signed off on its own. The PR squash-merges as one change. Commits 3 through 5 came out of an earlier round of review, which kept KubeRay-independent guides in a general `cluster/kubernetes/` section. Commits 6 through 8 reverse that: they move those guides back under KubeRay and turn the general section into a single page. If you're reviewing for the first time, read commits 3 through 5 with the reversal in mind. The final state is what commits 1, 2, and 6 through 8 describe. ## Related issues Related to ray-project#65438, which this replaces. ## Additional information ### Commit 1: path change What to sign off on: every file shows as a git rename, and the only content deltas are path references that have to move with the files. - Moves `cluster/kubernetes/` to `kuberay/`, which is 128 files, all detected as renames. The tree moves as a unit, so the relative `images/` and `configs/` paths inside it stay valid. - Renames within the move, since every URL changes anyway: - Hub pages move into their directories as `index.md`: `benchmarks`, `examples`, `getting-started`, `references`, `troubleshooting`, `user-guides`, and `k8s-ecosystem`. - `k8s-ecosystem/` becomes `ecosystem/`. - Drops the redundant `kuberay-` filename prefix from 10 pages: `getting-started/operator-installation`, and `user-guides/auth`, `auth-rbac`, `dashboard`, `gcs-ft`, `gcs-persistent-ft`, `gcs-rocksdb-ft`, `history-server`, `mtls`, `serve-high-throughput`. - Path references updated with the move: - Toctrees and `{doc}`/`:doc:`/relative Markdown links inside and outside the tree (`ray-core/`, `serve/`, `ray-observability/`, `ray-overview/`, `cluster/`). - `.github/CODEOWNERS`: same owners, new path. - `.vale.ini`: the path-scoped KubeRay style section. - `conf.py`: adds `kuberay` to `all_toc_libs`. The directory scan only picks up `ray-*` names, so without this entry `DOC_LIB=<lib>` single-library builds would stop excluding KubeRay, and `DOC_LIB=kuberay` wouldn't work. It previously rode along with `cluster`. - `/en/master/` links in the JAX trainer example `README.md` and `.ipynb`. - Path mentions in `ray-contribute/writing-style.md`, `doc/.claude/skills/rst-to-myst/SKILL.md`, and the `_ext/llms_txt.py` docstring example. - Left alone on purpose: - `(kuberay-*)=` and `(k8s-*)=` label definitions and every label-targeted ref, since labels don't depend on filenames. - Absolute `docs.ray.io/en/latest/...` and release-pinned links in prose and in `python/ray/autoscaler/_private/kuberay/autoscaling_config.py`. The redirects below cover them. Rewriting `/en/latest/` links before a release ships the new paths would break them. **Redirects** (`doc/redirects/current.yaml`): - Specific `page` rules for the 7 hubs, the `k8s-ecosystem/*` prefix, and the 10 prefix drops, placed before the directory wildcard `/cluster/kubernetes/*` → `/kuberay/:splat`. - The existing catch-all `/cluster/kubernetes/*` → `/cluster/kubernetes/index.html` moves to `from: /kuberay/*` with its `to:` unchanged, so older releases keep resolving. - `rtd-redirects validate`: 0 errors, 0 warnings. Chain notes go from 58 to 78. - `rtd-redirects simulate --prefix /cluster/kubernetes/` passes on master, latest, `releases-2.58.0`, `releases-2.40.0`, and `releases-2.20.0`: 0 regressions, 0 wrong landings, 0 new loops on every version. Final state, all eight commits, run with `--git-renames doc/source` and each release's `objects.inv` as its page set: | Version | 0 hops | 1 hop | 2 hops | 3 hops | |---|---|---|---|---| | master (after) | 0 | 271 | 11 | 11 | | latest | 97 | 240 | 16 | 0 | | releases-2.58.0 | 96 | 240 | 17 | 0 | | releases-2.40.0 | 75 | 173 | 40 | 0 | | releases-2.20.0 | 66 | 173 | 49 | 0 | Every page under `/cluster/kubernetes/` on master today reaches its new path in one hop, including the storage and image pull latency guides and the landing page itself, `/cluster/kubernetes/index.html`, which lands on `/kuberay/index.html`. No master URL resolves without a redirect, because nothing stays under `/cluster/kubernetes/`. The new `cluster/kubernetes.html` page is a new URL. The 3-hop entries on master are URLs that don't match any current page, such as pages removed before this PR. They go from `/cluster/kubernetes/<page>` to `/kuberay/<page>`, then through the `/kuberay/*` catch-all to `/cluster/kubernetes/index.html`, then through the wildcard to `/kuberay/index.html`. They land on the KubeRay landing page, which is the page they reached before. The catch-all's `to:` stays `/cluster/kubernetes/index.html` so older releases, which have no `kuberay/` directory, keep resolving without a loop. The 2-hop entries on older releases are KubeRay pages newer than that release, and they land on the same index page as before. The remaining 2-hop entries are pre-existing chains outside KubeRay, such as RLlib and Tune. **llms.txt shards.** RtD page redirects fire on any 404 path, not only `.html`. On today's master, `/en/master/cluster/kubernetes/no-such-file.txt` already 301s through the existing `/cluster/kubernetes/*` catch-all. The local build emits `kuberay/llms-full.txt`, so `/cluster/kubernetes/llms-full.txt` reaches it through the directory wildcard in one hop, with no extra rule. `simulate` reports that URL as landing on the index instead, because its page sources only list HTML pages. It reports the same URL as missing on today's master, where it returns 200. ### Commit 2: navigation What to sign off on: sidebar order only. - Root toctree: adds `KubeRay <kuberay/index>` directly above Ray Core, and moves `Ecosystem` from above Ray Core to directly below APIs. - Removes `Deploying on Kubernetes` from the Ray Clusters toctree, so KubeRay has one parent. Commit 4 restores the entry for the general section. - `navbar.yml` doesn't reference KubeRay pages, so it doesn't change. ### Commit 3: keep KubeRay-independent content in `cluster/kubernetes/` Commit 7 reverses the page moves in this commit. The config file stays where this commit puts it. What to sign off on: these files don't depend on the KubeRay operator, and they keep their master paths. - Moves back to `cluster/kubernetes/`, as git renames: - `user-guides/storage.md`, with its two images. - `user-guides/reduce-image-pull-latency.md`. - `configs/static-ray-cluster.tls.yaml`. It's a plain-Deployment Ray cluster with no KubeRay, left over from the page ray-project#53833 removed, and its only consumer is `ray-core/configure.md`. Keeping it in place means that file's raw GitHub link doesn't change at all, so existing copies of the link keep working. - `.github/CODEOWNERS`: keeps the `/doc/source/cluster/kubernetes/` entry alongside the new `/doc/source/kuberay/` one, with the same owners. - `.vale.ini`: registers the KubeRay style for both paths. - The two pages need no redirects, because RtD page redirects only fire on a 404. ### Commit 4: general Ray on Kubernetes section Commit 7 replaces this section with a single page, `cluster/kubernetes.md`. What to sign off on: navigation only, plus a minimal index page. - Adds `cluster/kubernetes/index.md` as the parent for the two general guides. It links to KubeRay for deploying and managing Ray clusters with the operator. It's intentionally short for now. - Restores `Deploying on Kubernetes` in the Ray Clusters toctree, now pointing at that page. KubeRay keeps a single parent, the root toctree. - Moves the two guides from the KubeRay user-guides toctree to the new index. The KubeRay user-guides list keeps both as cross-references. - Updates the Ray on Kubernetes path mention in `ray-contribute/writing-style.md`. ### Commit 5: landing pages Commits 6 and 8 revise both pages again. What to sign off on: prose on the two index pages. - `kuberay/index.md`: retitles the page from "Ray on Kubernetes" to "KubeRay" and rewrites the opening as an introduction to KubeRay, without the "Overview" heading. The `kuberay-index` label moves to the H1, so its existing refs keep resolving. The custom resource list adds RayCronJob, so it names all four `ray.io/v1` kinds. The page links to the general section. - `cluster/kubernetes/index.md`: lists the operators that deploy and manage Ray clusters on Kubernetes, which are KubeRay and the Anyscale operator, with a link to the Anyscale on Kubernetes docs. ### Commit 6: center the KubeRay landing page on KubeRay What to sign off on: prose on the two landing pages. - `kuberay/index.md`: removes the Anyscale paragraph. Reframes the card grid and the "Learn more" lead-in around KubeRay rather than Kubernetes in general, and sentence-cases the card titles and buttons. Folds the one-item "About KubeRay" list into prose. - `cluster/kubernetes/index.md`: cuts the Anyscale operator entry to one line that links to the Anyscale docs. ### Commit 7: move the general guides back under KubeRay What to sign off on: path changes only, with no prose edits. - Moves `storage.md`, its two images, and `reduce-image-pull-latency.md` back to `kuberay/user-guides/` as git renames, and restores both guides to the KubeRay user-guides toctree in their original positions. - Renames `cluster/kubernetes/index.md` to `cluster/kubernetes.md`, since it no longer has child pages. The Ray Clusters toctree points at the new path. - Leaves `cluster/kubernetes/configs/static-ray-cluster.tls.yaml` in place, so the raw GitHub link in `ray-core/configure.md` doesn't change. - `.github/CODEOWNERS`: adds `/doc/source/cluster/kubernetes.md` and keeps the `/doc/source/cluster/kubernetes/` entry for the config file. `.vale.ini` and `ray-contribute/writing-style.md` point at the new page path. - Needs no new redirects. The old master URLs of the two guides reach their new paths in one hop through the existing `/cluster/kubernetes/*` wildcard. ### Commit 8: rewrite the Ray on Kubernetes page What to sign off on: prose on `cluster/kubernetes.md`. - States that KubeRay is the officially supported way to run Ray on Kubernetes, and that a manual deployment without an operator is possible but not officially supported. - Keeps a one-line pointer to the Anyscale docs for the Anyscale operator. - Adds a "KubeRay guides that apply more broadly" section, which links to the storage and dependencies, image pull latency, managed Kubernetes cluster setup, and scheduling guides. Their examples use KubeRay, and the section says so. ### Out of scope - Expanding `cluster/kubernetes.md` beyond its pointer to KubeRay and the guide list. - Reworking the Ray Clusters landing page prose and cards that still describe Kubernetes as one of two deployment paths. - `user-guides/k8s-*` slugs (`k8s-autoscaler`, `k8s-cluster-setup`, `k8s-events`), `persist-kuberay-*-logs`, and `troubleshooting/troubleshooting.md`. Reviewers: if you'd like any of these renamed, say so, and it can go in a follow-up so this PR stays a pure move. ### Verification - `make -C doc rtd-build` (RtD-faithful, `-W --keep-going`) builds clean for commits 1 and 2, and for the state after commit 5: `build succeeded.`, exit 0. The RtD preview build is the check for commits 6 through 8. - `rtd-redirects validate`: 0 errors, 0 warnings on the final state. `rtd-redirects simulate` reports 0 regressions, 0 wrong landings, and 0 new loops on every version in the table above. - Rebased onto master. The only conflict was `ray-observability/ray-distributed-debugger`, which master converted from RST to MyST. Commit 1 applies its two quickstart link updates to the new `.md` file. - Commit 1 shows all 128 targets as renames in `git show --stat --find-renames`. ### Coordination Open PRs touching this directory will need a rebase onto the new paths after this merges: ray-project#65848, ray-project#65709, ray-project#65965, ray-project#66089, ray-project#65840. I'll handle those rebases. Git rename detection should carry most of them over cleanly. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Signed-off-by: Douglas Strodtman <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
The Ray Kubernetes docs had no Helm values reference for either KubeRay chart. The complete values tables live only in the chart READMEs in the ray-project/kuberay repo, which aren't discoverable from the Ray docs. Add a hand-written reference under the Kubernetes references section that explains the values needing more context than the generated tables give: feature gates, default container environment variables, head and worker sidecar containers, operator logging, and Argo CD installation. Link to the chart READMEs for the exhaustive list. KubeRay generates those tables with helm-docs and gates them in CI, so they stay current and are the right source of truth to point at, rather than vendoring a copy that would drift. Reframe the references landing page from "API Reference" to "References" so it parents both the CRD API reference and the new Helm values reference. The existing label is preserved so links don't break. Signed-off-by: Douglas Strodtman <[email protected]>
9257527 to
c7fe8a5
Compare
Why
The Ray Kubernetes docs have no Helm values reference for either KubeRay chart. The complete values tables live only in the chart READMEs in
kuberay-project/kuberay(helm-chart/kuberay-operator/README.mdandhelm-chart/ray-cluster/README.md), which aren't discoverable from the Ray docs. Several values have no explanation anywhere in the Ray docs: feature gates,configuration.defaultContainerEnvs, head and worker sidecar containers,logging.*, and Argo CD installation.What
Add
kuberay/references/helm-values.md, a hand-written reference that:The KubeRay READMEs are generated with helm-docs from each chart's
values.yamland gated in CI (thehelm-docs-builtpre-commit hook), so they stay current and are the right source of truth to link to, rather than vendoring a copy into this repo that would drift.Every value description and example is taken from the chart
values.yamland templates. For instance, the page states file logging activates only when bothlogging.baseDirandlogging.fileNameare set, which matcheskuberay-operator/templates/deployment.yaml(it appends--log-file-pathonly under that condition).Note for reviewers
This also reframes the
kuberay/references/index.mdlanding page from API Reference to References so it parents both the CRD API reference and the new Helm values reference. The existingkuberay-api-referencelabel is preserved, so no cross-references break. Happy to revert that framing change if you'd rather keep the values reference somewhere else in the tree.Updates since the original review
kuberay/section in [doc] Promote KubeRay to a top-level docs section #66674. The page now lives atkuberay/references/helm-values.md.kuberay-project/kuberay, matching [doc][kuberay] Repoint KubeRay links to the kuberay-project GitHub org #67188.--set/-fexample uses chart version1.7.0, matching the operator installation guide.https://ray-project.github.io/kuberay-helm/until after KubeRay 1.8.Checks
{ref}target label exists on master, and every linked KubeRay URL returns HTTP 200 with the#valuesand#working-with-argo-cdanchors present.1.7.0sets the operator image tag tov1.7.0.This PR was prepared with AI assistance (Claude Code) and reviewed by me.