Skip to content

docs(operate): the Kubernetes and OpenShift page moves to the docs - #913

Merged
pdettori merged 2 commits into
rossoctl:mainfrom
pdettori:docs/operate-k8s
Nov 19, 2026
Merged

pdettori merged 2 commits into
rossoctl:mainfrom
pdettori:docs/operate-k8s

Conversation

@pdettori

@pdettori pdettori commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

Summary

This is step 5 of the docs migration, third path: Kubernetes and OpenShift, after #910 (Compose) and #911 (Single VM, merged; this branch is rebased on it).

deploy/k8s/README.md (1,422 lines) becomes docs/operate/harness/kubernetes.md under Deploy and operate › Harness. The README keeps its title, banner and a pointer.

  • The section numbers stay. setup.sh, the manifests and the tests cite them (§2, §6, §12, §12.5), and the README's pointer says so. That's why §8 "CI" moved too: dropping it would leave a gap in the numbering.
  • Banner: it uses the Preview template, with "Known limits" pointing at §7 "What this does not claim", then says this is the first target for Stable. P6 is glossed on first use.
  • References in code: setup.sh's comments and its one operator message all now name the docs page. The message is the die when SH_ROUTE_DOMAIN is set without --target ocp-single, which used to say "README §12.5". The same goes for the setup test's notes, the comments in base/supervisor.yaml and overlays/ocp-single/kustomization.yaml, and the k8s-e2e.yml comment.
  • Links: links to the README and its sections now point at the page, including from the other deploy/ and package READMEs. That's one step further than docs(operate): the Docker Compose trial's page moves to the docs #910 and docs(operate): the single-VM page moves to the docs, with a teardown #911, which left those pointing at the README: here they go straight to the content, and the README still forwards if anything is missed. The dispatch-archetypes concept now links §14.

Content check. All 1,140 non-blank lines of the old README are on the page.

No other content changed.

Testing

  • deploy/k8s/tests/setup.test.sh and smoke.test.sh: all passed.
  • From a clean clone of the branch:
    • make check-links: 233 files, 0 broken links;
    • scripts/check-docs-publish.sh: 80 files;
    • scripts/check-docs-site.sh: no broken links or anchors.
  • bash -n deploy/k8s/setup.sh passes; Prettier 3.10.1 is clean.

Assisted-By: Claude Code

@pdettori pdettori added the ready-for-ai-review Request automated AI code review from clawgenti label Nov 19, 2026

@ingpaolodettori-dev ingpaolodettori-dev left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Review — docs: the Kubernetes and OpenShift page moves to the docs

Was stacked on #911 (merged 11:45 UTC), so this reviews the last commit only (a40a8f5); the #911 pair under it is in main now, and 2870260 closed both comments of that review (the plain-text README pointers, and the /etc/moca/control-plane.env + moca-control-plane slip).

Verified

  • Content: 1,140 non-blank lines in the old README. The only differences are the front matter/H1, the reworded banner, the P6 gloss, and ~16 lines whose relative link targets were re-depthed for docs/operate/harness/ (checked each: ../../docs/x → ../../x, ../vm/README.md → ../../../deploy/vm/README.md, ../compose/README.md → ../../../deploy/compose/README.md, the §11 anchor link). Nothing else changed.
  • Section numbering survives: ## 1–## 14 and ### 9.1–### 14.5 are identical to the old README's, ## 8. CI included, so the §N citations in setup.sh, the manifests and the tests still resolve against the page.
  • Banner: the Preview template verbatim, Known limits pointing at #7-what-this-does-not-claim, and the "first target for Stable" sentence agrees with reference/maturity-and-lifecycle.md.
  • Code references: setup.sh (its comments, plus the SH_ROUTE_DOMAIN die), setup.test.sh's notes, base/supervisor.yaml, overlays/ocp-single/kustomization.yaml and the k8s-e2e.yml comment all name the page now; the § numbers they cite are the ones the page keeps.
  • Checks: make check-links → 233 files, 0 broken (in-repo anchors included, so #11-… and #14-… resolve); check-docs-publish.sh → 80 files, clean. CI is 18/18 green, deploy-scripts and the site build included.
  • The root README.md and every docs page that pointed at the k8s README now land on the page, which is the step further than #910/#911 that the body describes.

Body nit: "All 1,140 non-blank lines … except three deliberate changes" — there are about 16 more that differ only in relative link targets. Cosmetic, but the count reads as if only three lines moved.

Author: pdettori (MEMBER — maintainer). Agent/IDE config: none. Commits: 3 (2 from #911), all signed off. CI: 18/18 green.

Comment thread deploy/k8s/README.md
**How to install, run, scale, secure, troubleshoot and tear down P6 on Kubernetes** (Kind, OpenShift,
the single-namespace target, P4 hosts outside the cluster, test users, async fan-out) is on the
documentation site: [Kubernetes and OpenShift](../../docs/operate/harness/kubernetes.md). Section
numbers there are the ones `setup.sh` and the manifests cite (§2, §6, §12, ...).

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

suggestion: this comment says the section numbers are what the scripts and manifests cite, but 15 bare README §N / README "section" references in this directory still point at this file, now a pointer:

  • smoke.sh — :14 ("Demo on OpenShift"), :90 (§12.2), :192 ("P4 on Kubernetes"), :516/:517 (§12.3), :519 (Troubleshooting), :544 (§4), :546/:662 (§14), :674/:742 (§14.1)
  • base/sandbox.yaml:53 (§2)
  • overlays/ocp-single/patch-strip-uids.yaml:1 and :7 (§12, §12.3)
  • overlays/ocp-single/routes/kustomization.yaml:1 (§12.5)

This PR updated exactly this class of reference in setup.sh, setup.test.sh, supervisor.yaml, ocp-single/kustomization.yaml and k8s-e2e.yml, so these look like the remaining set — worth naming docs/operate/harness/kubernetes.md (or at least README→the page) so a reader following §14 from smoke.sh does not stop at the pointer.

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.

Fixed in 0398d24, all 15:

  • smoke.sh: the comments, plus the ko/note messages it prints ("Demo on OpenShift", §12.2, "P4 on Kubernetes", §12.3, Troubleshooting, §4, §14, §14.1).
  • Manifests: base/sandbox.yaml (§2), and in overlays/ocp-single/ patch-strip-uids.yaml (§12, §12.3) and routes/kustomization.yaml (§12.5).

All now name docs/operate/harness/kubernetes.md with the section they cite. git grep README -- deploy/k8s now finds only the README itself and the tests. smoke.test.sh and setup.test.sh still pass, and bash -n smoke.sh is clean.

Comment thread docs/operate/harness/kubernetes.md Outdated

## 1. What this is

This is the sibling of [`deploy/vm/`](../../../deploy/vm/README.md) (systemd and podman on one VM) and

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

nit: this page sends readers to deploy/vm/README.md and deploy/compose/README.md, which are pointer pages now. Its siblings link each other's docs pages (the Compose page points at single-vm.md and kubernetes.md), so pointing these two at single-vm.md and compose.md would keep the docs-to-docs rule this PR applies everywhere else.

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.

Fixed in 0398d24: the page now reads "the sibling of Single VM … and Docker Compose". No page in docs/operate/harness/ links a deploy/ README pointer now.

Step 5 of the docs migration, third path: deploy/k8s/README.md becomes
docs/operate/harness/kubernetes.md; the README keeps its title, banner
and a pointer. The page keeps the README's numbered sections, since
setup.sh, the manifests and their tests cite them (§2, §6, §12, §12.5).

- The banner uses the Preview template, its known limits pointing at
  §7 "What this does not claim", then says this is the first target for
  Stable. P6 is glossed on first use.
- setup.sh's comments and its one operator message (SH_ROUTE_DOMAIN
  without ocp-single: "README §12.5"), the setup test's notes, the
  supervisor and ocp-single manifests' comments, and the k8s-e2e
  workflow's comment name the docs page.
- Links to the README and to its sections, from the docs and from the
  other deploy and package READMEs, point at the page; the dispatch
  archetypes concept links §14.

Every line of the old README is on the page but the reworded banner
and first sentence.

Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
…docs-to-docs siblings)

- The last bare "README §N" / README "section" references in deploy/k8s
  name docs/operate/harness/kubernetes.md, whose section numbers they
  cite: smoke.sh (its comments and its ko/note messages: "Demo on
  OpenShift", §12.2, "P4 on Kubernetes", §12.3, Troubleshooting, §4,
  §14, §14.1), base/sandbox.yaml (§2), and the ocp-single
  patch-strip-uids.yaml (§12, §12.3) and routes/kustomization.yaml
  (§12.5). No README mention is left in deploy/k8s but the README.
- The page's siblings link their docs pages, Single VM and Docker
  Compose, not the deploy/ READMEs that now only point there.

Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
@pdettori

Copy link
Copy Markdown
Member Author

On the body nit: corrected. The content check now says that about 16 lines differ only in re-resolved relative link targets, and 3 in wording. It also drops the "stacked on #911" note, since #911 is merged and this branch is rebased on main (2 commits: the move, and 0398d24 for this review). From a clean clone: 233 files, 0 broken links; publish check 80 files; site build 58 pages.

@pdettori
pdettori marked this pull request as ready for review November 19, 2026 12:44
@pdettori
pdettori requested a review from cwiklik as a code owner November 19, 2026 12:44
@pdettori
pdettori merged commit dc7dc5d into rossoctl:main Nov 19, 2026
19 checks passed
@pdettori
pdettori deleted the docs/operate-k8s branch November 19, 2026 12:45
@pdettori pdettori added this to the v0.11.0 milestone Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-ai-review Request automated AI code review from clawgenti

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants