Skip to content

Fix the Kubernetes operator links, install command, and missing content sync - #135

Merged
guanzhousongmicrosoft merged 2 commits into
documentdb:mainfrom
GuanzhouSong:fix/kubernetes-operator-links
Aug 3, 2026
Merged

Fix the Kubernetes operator links, install command, and missing content sync#135
guanzhousongmicrosoft merged 2 commits into
documentdb:mainfrom
GuanzhouSong:fix/kubernetes-operator-links

Conversation

@GuanzhouSong

@GuanzhouSongGuanzhouSong commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Summary

Every link we offer a reader who wants to learn about the Kubernetes operator is a 404, the install command we show them installs a four-month-old chart, and the docs section that just merged in documentdb/docs#62 never gets built at all.

The section that does not build

documentdb/docs#62 added a kubernetes-operator section. It is unreachable: content.config.json enumerates the folders copied out of the docs repository, so a section missing from that list is never copied, never exported, and 404s permanently rather than until the next deploy. https://documentdb.io/docs/kubernetes-operator/ returns the not-found fallback right now. Added the mapping alongside the other four.

With the section building, the /docs landing entry for the operator now points at documentation rather than at this marketing page, which is what every other entry on that page does.

The broken links

documentdbKubernetesOperatorDocsUrl is https://documentdb.io/documentdb-kubernetes-operator/preview/. The operator publishes its documentation under a version segment, so the working URL is https://documentdb.io/documentdb-kubernetes-operator/latest/preview/.

/documentdb-kubernetes-operator/preview/ -> 404 (GitHub Pages "Page not found")
/documentdb-kubernetes-operator/latest/preview/ -> 200 ("Home - DocumentDB-Kubernetes-Operator")

The constant is used in five places, so this is not a single dead link:

  • app/kubernetes-operator/page.tsx:282 — the page's primary call to action
  • app/kubernetes-operator/page.tsx:469, :493
  • app/page.tsx:552 — the home page

The stale install command

The operator page installs from the classic chart repository:

helm repo add documentdb https://documentdb.github.io/documentdb-kubernetes-operator
helm install documentdb-operator documentdb/documentdb-operator ...

That repository is still served, but its index.yaml tops out at chart 0.2.0 / appVersion 0.2.0, published 2026-03-26. The current chart is 0.3.0, and the operator now publishes it as an OCI artifact, which is what its README and its own quickstarts use.

The version gap matters more than it looks: 0.3.0 is where the ImageVolume capability check and its admission webhook landed, so a reader who follows our page gets an operator that behaves differently from every guide they will read next. Replaced with the OCI install the operator documents.

Also

The March operator blog post links to a backup and restore guide that has since moved under preview/operations/. Fixed in the same pass, since it was found by the same check.

Verification

All URLs were checked against the live site, including the chart repository index. content.config.json parses.

Every "read the documentation" link we point at the Kubernetes operator
is a 404. documentdbKubernetesOperatorDocsUrl is
/documentdb-kubernetes-operator/preview/, but the operator publishes its
docs under a version segment, at /documentdb-kubernetes-operator/latest/
preview/. The constant is used five times - three on the operator page,
including its primary call to action, and once on the home page - so
every route we offer a reader who wants to learn about the operator ends
at GitHub Pages' not-found page.
The install command on the operator page is stale in a quieter way. It
installs from the classic chart repository at
documentdb.github.io/documentdb-kubernetes-operator, whose index still
tops out at chart 0.2.0, published 2026-03-26. The current chart is
0.3.0, and the operator has moved to publishing the chart as an OCI
artifact on ghcr.io, which is what its README and its own quickstarts
now use. Following our page gets you a four-month-old operator - which
matters more than the version gap suggests, because 0.3.0 is where the
ImageVolume capability check and its admission webhook landed. Replaced
with the OCI install the operator documents.
Also fixed a moved link in the March operator blog post: the backup and
restore guide is now under preview/operations/.
All four URLs were checked against the live site, before and after.
Not included, to avoid a cross-repo merge order hazard: the /docs
landing entry for the operator points at this marketing page rather than
at documentation. documentdb/docs#62 adds a /docs/kubernetes-operator
section for it to point to, so that entry is worth updating once documentdb#62
lands.
documentdb/docs#62 merged a kubernetes-operator section, and it is
unreachable: content.config.json enumerates the folders copied out of
the docs repository, so a section missing from that list is never
copied, never exported, and 404s permanently rather than until the next
deploy. /docs/kubernetes-operator returns the not-found fallback today.
Added the mapping alongside the other four.
With the section building, the /docs landing entry for the operator can
point at documentation instead of at the marketing page, which is what
every other entry on that page does. This is the follow-up this branch
previously deferred on merge-order grounds; documentdb#62 has landed, so the
target exists.
@GuanzhouSongGuanzhouSong changed the title Fix the Kubernetes operator documentation links and install commandFix the Kubernetes operator links, install command, and missing content syncAug 3, 2026
@guanzhousongmicrosoft
guanzhousongmicrosoft merged commit 9dc5780 into documentdb:mainAug 3, 2026
2 checks passed
GuanzhouSong added a commit to GuanzhouSong/documentdb.github.io that referenced this pull request Aug 3, 2026
The packages quick start links to docs/v1/building.md in the engine
repository, which returns 404 - that path no longer exists. Build
instructions for the packages now live in packaging/README.md, and the
link text is adjusted to match what the target actually covers.
The blog link this branch also carried was fixed in documentdb#135; that hunk is
dropped rather than rebased, leaving only the change still needed.
GuanzhouSong added a commit to GuanzhouSong/documentdb.github.io that referenced this pull request Aug 3, 2026
documentdb#135 fixed the 404 behind this constant by adding the missing version
segment, so the links work now, but all four call sites label themselves
"Open quick start" and land on the documentation home instead - the
reader still has to find the quick start from there.
Renamed the constant for what every caller actually wants and pointed it
at the kind quick start, which is the operator's canonical local
walkthrough. Linking the page directly also skips the redirect stubs at
/documentdb-kubernetes-operator/ and .../latest/, which are meta
refreshes that only browsers follow.
No call site is left wanting the docs home, so the old name is gone
rather than kept as a second export.
guanzhousongmicrosoft pushed a commit that referenced this pull request Aug 3, 2026
#135 fixed the 404 behind this constant by adding the missing version
segment, so the links work now, but all four call sites label themselves
"Open quick start" and land on the documentation home instead - the
reader still has to find the quick start from there.
Renamed the constant for what every caller actually wants and pointed it
at the kind quick start, which is the operator's canonical local
walkthrough. Linking the page directly also skips the redirect stubs at
/documentdb-kubernetes-operator/ and .../latest/, which are meta
refreshes that only browsers follow.
No call site is left wanting the docs home, so the old name is gone
rather than kept as a second export.
guanzhousongmicrosoft pushed a commit that referenced this pull request Aug 3, 2026
The packages quick start links to docs/v1/building.md in the engine
repository, which returns 404 - that path no longer exists. Build
instructions for the packages now live in packaging/README.md, and the
link text is adjusted to match what the target actually covers.
The blog link this branch also carried was fixed in #135; that hunk is
dropped rather than rebased, leaving only the change still needed.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@GuanzhouSong@guanzhousongmicrosoft