Repository navigation
docs(operate): the Kubernetes and OpenShift page moves to the docs - #913
Conversation
ingpaolodettori-dev
left a comment
There was a problem hiding this comment.
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–## 14and### 9.1–### 14.5are identical to the old README's,## 8. CIincluded, so the§Ncitations insetup.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 withreference/maturity-and-lifecycle.md. - Code references:
setup.sh(its comments, plus theSH_ROUTE_DOMAINdie),setup.test.sh's notes,base/supervisor.yaml,overlays/ocp-single/kustomization.yamland thek8s-e2e.ymlcomment 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-scriptsand the site build included. - The root
README.mdand 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.
| **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, ...). |
There was a problem hiding this comment.
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:1and: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.
There was a problem hiding this comment.
Fixed in 0398d24, all 15:
smoke.sh: the comments, plus theko/notemessages it prints ("Demo on OpenShift", §12.2, "P4 on Kubernetes", §12.3, Troubleshooting, §4, §14, §14.1).- Manifests:
base/sandbox.yaml(§2), and inoverlays/ocp-single/patch-strip-uids.yaml(§12, §12.3) androutes/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.
|
|
||
| ## 1. What this is | ||
|
|
||
| This is the sibling of [`deploy/vm/`](../../../deploy/vm/README.md) (systemd and podman on one VM) and |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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]>
a40a8f5 to
0398d24
Compare
|
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 |
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) becomesdocs/operate/harness/kubernetes.mdunder Deploy and operate › Harness. The README keeps its title, banner and a pointer.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.setup.sh's comments and its one operator message all now name the docs page. The message is thediewhenSH_ROUTE_DOMAINis set without--target ocp-single, which used to say "README §12.5". The same goes for the setup test's notes, the comments inbase/supervisor.yamlandoverlays/ocp-single/kustomization.yaml, and thek8s-e2e.ymlcomment.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.
docs/operate/harness/(for example../vm/README.md→ the Single VM page).No other content changed.
Testing
deploy/k8s/tests/setup.test.shandsmoke.test.sh: all passed.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.shpasses; Prettier 3.10.1 is clean.Assisted-By: Claude Code