Skip to content

fix: consolidate HA/DR nav duplication and sweep stale alias xrefs (DOC-2361) - #1880

Open
JakeSCahill wants to merge 2 commits into
mainfrom
DOC-2361-hadr-nav-consolidation
Open

fix: consolidate HA/DR nav duplication and sweep stale alias xrefs (DOC-2361)#1880
JakeSCahill wants to merge 2 commits into
mainfrom
DOC-2361-hadr-nav-consolidation

Conversation

@JakeSCahill

@JakeSCahill JakeSCahill commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Resolves DOC-2361: consolidates the HA/DR nav duplication and placement debt surfaced while adding the "Choose Your Deployment" chooser (#1681).

Changes

1. Remote Read Replicas: one Kubernetes page instead of two

manage:kubernetes/tiered-storage/k-remote-read-replicas.adoc and manage:kubernetes/k-remote-read-replicas.adoc were identical stubs rendering the same partial, published at two URLs and listed twice in the nav. Deleted the tiered-storage copy and folded its URL (plus its old alias) into the kept page as page-aliases, so both old URLs redirect. The kept page sits directly under Manage > Kubernetes, mirroring the Linux page's placement directly under Manage. All inbound xrefs already pointed at the kept page.

2. High Availability: Kubernetes now matches Linux placement

Linux HA was previously moved from Deploy to Manage (its alias trail records the move), but Kubernetes HA stayed under Deploy even though both render the same deploy/partials/high-availability.adoc. Moved k-high-availability.adoc to manage:kubernetes/ with an alias for the old deploy:redpanda/kubernetes/ path, moved the nav entry to Manage > Kubernetes, and repointed all seven inbound xrefs.

3. Shadowing: platform-scoped, not merged

Kept both trees deliberately: they're complementary, not duplicates. manage:disaster-recovery/shadowing/* carries the concepts plus the Linux/rpk workflow (and is single-sourced to cloud-docs, so its files don't move), while manage:kubernetes/shadowing/* carries the Operator/Helm workflow and already links back for concepts. This PR aligns the nav labels (MonitorMonitor Shadowing) and adds a cloud-safe (ifndef::env-cloud) note on the DR Shadowing index pointing Kubernetes users to the Kubernetes guide, so each tree now cross-references the other.

4. Stale alias-path xref sweep

Repointed every xref that resolved only via old alias paths (deploy:deployment-option/self-hosted/*, manage:kubernetes/storage/tiered-storage/*, deploy:redpanda/manual/remote-read-replicas.adoc) at the canonical page IDs — about 35 references across 25 files, including the home-page deploy tiles and the link attributes in the HA, Tiered Storage, and Whole Cluster Restore partials. :page-aliases: redirect definitions are untouched. One link was stale beyond its path: the ExternalDNS reference in external-access-intro.adoc pointed at an anchor that no longer exists on k-requirements; it now targets the ExternalDNS section in k-production-deployment.

Notes for reviewers

  • Three swept files are autogenerated (reference:k-crd.adoc, rpk-redpanda-tune.adoc, rpk-transform-deploy.adoc). The fixes hold until the next regeneration; the same alias paths need fixing in their upstream sources (operator CRD comments, rpk help text) to make them stick.
  • The Helm-spec reference pages (k-*-helm-spec.adoc) still contain absolute docs.redpanda.com/...deployment-option... URLs. Those are generated from chart READMEs in redpanda-operator and resolve via site redirects, so they're left for an upstream fix.
  • Local Antora build passes with no xref warnings on the changed targets.

🤖 Generated with Claude Code

…OC-2361)

- Remove duplicate Remote Read Replicas page under tiered-storage; the kept
  page at manage:kubernetes/k-remote-read-replicas.adoc absorbs its aliases
- Move High Availability in Kubernetes from Deploy to Manage > Kubernetes to
  match the Linux HA placement, with an alias for the old path
- Platform-scope the two Shadowing trees: align nav labels and cross-link the
  disaster-recovery Shadowing index to the Kubernetes guide
- Repoint all xrefs that used old deploy:deployment-option/* alias paths (and
  two stale manage:kubernetes/storage/* paths) at the canonical page IDs
@JakeSCahill
JakeSCahill requested a review from a team as a code owner August 4, 2026 13:17
@netlify

netlify Bot commented Aug 4, 2026

Copy link
Copy Markdown

Deploy Preview for redpanda-docs-preview ready!

Name Link
🔨 Latest commit c77473d
🔍 Latest deploy log https://app.netlify.com/projects/redpanda-docs-preview/deploys/6a71fe16981593000809f6d8
😎 Deploy Preview https://deploy-preview-1880--redpanda-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai

coderabbitai Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Important

Review skipped

Auto incremental reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: c87ad840-4ce4-482a-83c0-42ebc5a935e0

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

The changes reorganize documentation navigation and cross-references. Kubernetes High Availability and Remote Read Replicas entries now use management locations and aliases. Kubernetes deployment links use shorter deploy:redpanda paths. Tiered Storage and replication links use revised management paths. Shadowing documentation adds a Kubernetes note and clarifies Linux scope.

Estimated code review effort: 2 (Simple) | ~10 minutes

Suggested reviewers: kbatuigas

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the primary navigation consolidation and stale cross-reference fixes.
Description check ✅ Passed The description clearly explains the objectives, detailed changes, Jira ticket, reviewer notes, and validation results.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch DOC-2361-hadr-nav-consolidation

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai 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.

🧹 Nitpick comments (2)
modules/deploy/pages/redpanda/kubernetes/k-choose-deployment.adoc (1)

170-170: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Use empty xref brackets for the renamed destinations.

The changed links hard-code display text. Use empty brackets so Antora reads the title from the target page or section.

  • modules/deploy/pages/redpanda/kubernetes/k-choose-deployment.adoc#L170-L170: change xref:manage:kubernetes/k-high-availability.adoc[High Availability in Kubernetes] to xref:manage:kubernetes/k-high-availability.adoc[].
  • modules/deploy/pages/redpanda/kubernetes/k-production-readiness.adoc#L914-L914: change xref:manage:kubernetes/k-high-availability.adoc#multi-az-deployment[Multi-AZ deployment] to xref:manage:kubernetes/k-high-availability.adoc#multi-az-deployment[].

Based on learnings, prefer empty xref brackets instead of hard-coded link text in AsciiDoc files.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@modules/deploy/pages/redpanda/kubernetes/k-choose-deployment.adoc` at line
170, Replace the hard-coded xref text with empty brackets in
modules/deploy/pages/redpanda/kubernetes/k-choose-deployment.adoc lines 170-170
and modules/deploy/pages/redpanda/kubernetes/k-production-readiness.adoc lines
914-914, preserving each target and anchor so Antora uses the destination title.

Source: Learnings

modules/reference/pages/rpk/rpk-redpanda/rpk-redpanda-tune.adoc (1)

145-146: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Use automatic xref titles for the changed links.

These references hard-code display text. Use empty brackets where custom text is not required.

  • modules/reference/pages/rpk/rpk-redpanda/rpk-redpanda-tune.adoc#L145-L146: remove the custom labels from both deployment links.
  • modules/reference/pages/rpk/rpk-transform/rpk-transform-deploy.adoc#L115: remove the custom label from the sizing link.

Based on learnings: prefer empty xref brackets so the target document supplies the link text.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@modules/reference/pages/rpk/rpk-redpanda/rpk-redpanda-tune.adoc` around lines
145 - 146, Replace the custom xref labels with empty brackets for both links in
modules/reference/pages/rpk/rpk-redpanda/rpk-redpanda-tune.adoc lines 145-146,
and for the sizing link in
modules/reference/pages/rpk/rpk-transform/rpk-transform-deploy.adoc line 115, so
each target document supplies its automatic title.

Source: Learnings

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Nitpick comments:
In `@modules/deploy/pages/redpanda/kubernetes/k-choose-deployment.adoc`:
- Line 170: Replace the hard-coded xref text with empty brackets in
modules/deploy/pages/redpanda/kubernetes/k-choose-deployment.adoc lines 170-170
and modules/deploy/pages/redpanda/kubernetes/k-production-readiness.adoc lines
914-914, preserving each target and anchor so Antora uses the destination title.

In `@modules/reference/pages/rpk/rpk-redpanda/rpk-redpanda-tune.adoc`:
- Around line 145-146: Replace the custom xref labels with empty brackets for
both links in modules/reference/pages/rpk/rpk-redpanda/rpk-redpanda-tune.adoc
lines 145-146, and for the sizing link in
modules/reference/pages/rpk/rpk-transform/rpk-transform-deploy.adoc line 115, so
each target document supplies its automatic title.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 5b2fea68-c58d-4430-8915-43a484c5f797

📥 Commits

Reviewing files that changed from the base of the PR and between 8176018 and d30e928.

📒 Files selected for processing (36)
  • modules/ROOT/nav.adoc
  • modules/deploy/pages/redpanda/kubernetes/k-choose-deployment.adoc
  • modules/deploy/pages/redpanda/kubernetes/k-production-deployment.adoc
  • modules/deploy/pages/redpanda/kubernetes/k-production-readiness.adoc
  • modules/deploy/partials/high-availability.adoc
  • modules/deploy/partials/kubernetes/guides/external-access-intro.adoc
  • modules/home/pages/index.adoc
  • modules/manage/pages/cluster-maintenance/decommission-brokers.adoc
  • modules/manage/pages/cluster-maintenance/node-property-configuration.adoc
  • modules/manage/pages/disaster-recovery/shadowing/index.adoc
  • modules/manage/pages/kubernetes/cloud-topics/k-cloud-topics.adoc
  • modules/manage/pages/kubernetes/k-decommission-brokers.adoc
  • modules/manage/pages/kubernetes/k-high-availability.adoc
  • modules/manage/pages/kubernetes/k-manage-resources.adoc
  • modules/manage/pages/kubernetes/k-manage-topics.adoc
  • modules/manage/pages/kubernetes/k-remote-read-replicas.adoc
  • modules/manage/pages/kubernetes/k-resilience-testing.adoc
  • modules/manage/pages/kubernetes/k-rolling-restart.adoc
  • modules/manage/pages/kubernetes/k-scale-redpanda.adoc
  • modules/manage/pages/kubernetes/k-schema-controller.adoc
  • modules/manage/pages/kubernetes/networking/external/k-nodeport.adoc
  • modules/manage/pages/kubernetes/networking/k-connect-to-redpanda.adoc
  • modules/manage/pages/kubernetes/security/authentication/k-schema-registry-acls.adoc
  • modules/manage/pages/kubernetes/security/authentication/k-user-controller.adoc
  • modules/manage/pages/kubernetes/security/authorization/k-role-controller.adoc
  • modules/manage/pages/kubernetes/shadowing/k-shadow-linking.adoc
  • modules/manage/pages/kubernetes/storage/k-volume-types.adoc
  • modules/manage/pages/kubernetes/tiered-storage/k-remote-read-replicas.adoc
  • modules/manage/partials/data-archiving.adoc
  • modules/manage/partials/remote-read-replicas.adoc
  • modules/manage/partials/whole-cluster-restore.adoc
  • modules/reference/pages/k-crd.adoc
  • modules/reference/pages/rpk/rpk-redpanda/rpk-redpanda-tune.adoc
  • modules/reference/pages/rpk/rpk-transform/rpk-transform-deploy.adoc
  • modules/troubleshoot/partials/errors-and-solutions.adoc
  • modules/upgrade/pages/deprecated/index.adoc
💤 Files with no reviewable changes (1)
  • modules/manage/pages/kubernetes/tiered-storage/k-remote-read-replicas.adoc

…tion

Review against docs team standards: index pages open with an intro
paragraph, not a NOTE, and the Kubernetes deployment method is the
Redpanda Operator or Helm chart, matching k-shadow-linking's wording.
Sign up for free to 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.

1 participant