-
Notifications
You must be signed in to change notification settings - Fork 47
tidy instructions for shadowing #1549
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for redpanda-docs-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the 📝 WalkthroughWalkthroughThis pull request updates the Redpanda shadowing documentation to reflect corrected requirements and improved guidance. The primary change clarifies that only the shadow cluster (not both source and shadow clusters) requires the Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 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. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In @modules/manage/partials/shadowing/shadow-link-prerequisites.adoc:
- Line 7: The xref reference
xref:manage:cluster-maintenance/config-cluster.adoc[] is missing link text;
update the brackets to include descriptive text (for example
xref:manage:cluster-maintenance/config-cluster.adoc[Cluster configuration] or
similar) so the cross-reference renders with readable link text in the sentence
about Redpanda v25.3 default settings.
📜 Review details
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Disabled knowledge base sources:
- Jira integration is disabled by default for public repositories
You can enable these sources in your CodeRabbit configuration.
📒 Files selected for processing (3)
modules/manage/pages/disaster-recovery/shadowing/setup.adocmodules/manage/pages/kubernetes/shadowing/k-shadow-linking.adocmodules/manage/partials/shadowing/shadow-link-prerequisites.adoc
💤 Files with no reviewable changes (1)
- modules/manage/pages/kubernetes/shadowing/k-shadow-linking.adoc
🧰 Additional context used
🧠 Learnings (4)
📓 Common learnings
Learnt from: andrewstucki
Repo: redpanda-data/docs PR: 1514
File: modules/troubleshoot/partials/errors-and-solutions.adoc:618-632
Timestamp: 2025-12-12T16:18:35.857Z
Learning: When using the Redpanda Operator with ShadowLink CRDs, CA certificates for shadow linking should not be copied directly into pods using `kubectl cp` because they won't persist across pod restarts. Instead, CA certificates should be stored in Kubernetes Secrets and referenced in the ShadowLink's `staticConfiguration` block, or inlined directly in that configuration block.
Learnt from: Feediver1
Repo: redpanda-data/docs PR: 1153
File: modules/reference/pages/properties/topic-properties.adoc:45-50
Timestamp: 2025-07-16T19:33:20.420Z
Learning: In the Redpanda documentation, topic property cross-references like <<max.compaction.lag.ms>> and <<min.compaction.lag.ms>> require corresponding property definition sections with anchors like [[maxcompactionlagms]] and [[mincompactionlagms]] to prevent broken links.
📚 Learning: 2025-11-25T09:42:15.235Z
Learnt from: CR
Repo: redpanda-data/docs PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-11-25T09:42:15.235Z
Learning: Applies to docs-data/property-overrides.json : Always use full Antora resource IDs with module prefixes in xref links within property descriptions (e.g., `reference:properties/cluster-properties.adoc`, never `./cluster-properties.adoc`)
Applied to files:
modules/manage/pages/disaster-recovery/shadowing/setup.adoc
📚 Learning: 2025-07-16T19:33:20.420Z
Learnt from: Feediver1
Repo: redpanda-data/docs PR: 1153
File: modules/reference/pages/properties/topic-properties.adoc:45-50
Timestamp: 2025-07-16T19:33:20.420Z
Learning: In the Redpanda documentation, topic property cross-references like <<max.compaction.lag.ms>> and <<min.compaction.lag.ms>> require corresponding property definition sections with anchors like [[maxcompactionlagms]] and [[mincompactionlagms]] to prevent broken links.
Applied to files:
modules/manage/pages/disaster-recovery/shadowing/setup.adoc
📚 Learning: 2025-12-12T16:18:28.126Z
Learnt from: andrewstucki
Repo: redpanda-data/docs PR: 1514
File: modules/troubleshoot/partials/errors-and-solutions.adoc:618-632
Timestamp: 2025-12-12T16:18:28.126Z
Learning: In Redpanda ShadowLink CRD usage, do not copy CA certificates into pods via kubectl cp because they won't persist across pod restarts. Store CA certs in Kubernetes Secrets and reference them in the ShadowLink's staticConfiguration block (or inline the cert data in that block) to ensure persistence and proper secret management.
Applied to files:
modules/manage/pages/disaster-recovery/shadowing/setup.adocmodules/manage/partials/shadowing/shadow-link-prerequisites.adoc
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
- GitHub Check: Redirect rules - redpanda-docs-preview
- GitHub Check: Header rules - redpanda-docs-preview
- GitHub Check: Pages changed - redpanda-docs-preview
🔇 Additional comments (2)
modules/manage/partials/shadowing/shadow-link-prerequisites.adoc (1)
2-3: Requirement correctly updated to reflect shadow cluster only.The updated requirement accurately reflects the clarification that only the shadow cluster needs
enable_shadow_linkingset to true, aligning with the PR objective from DOC-1915.modules/manage/pages/disaster-recovery/shadowing/setup.adoc (1)
49-49: Good refactoring to use shared partial.The include directive correctly references the shared prerequisites partial with the appropriate tag, improving maintainability by centralizing cluster property documentation.
kbatuigas
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Request to double check conditional for Cloud docs
| Starting with Redpanda v25.3, this cluster property is enabled by default on new Redpanda Cloud clusters. Existing clusters created before v25.3 must enable this property manually. See xref:manage:cluster-maintenance/config-cluster.adoc[]. | ||
| ==== | ||
| endif::[] | ||
| include::manage:partial$shadowing/shadow-link-prerequisites.adoc[tag=cluster-property] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this looks all right in Self-managed (including Kubernetes) but not really in Cloud? Unless I'm looking at the wrong preview. Could you please double check?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missed one if for cloud. Should be fine now. Thanks for spotting that!
Description
Resolves https://redpandadata.atlassian.net/browse/DOC-1915
Review deadline:
Page previews
Linux
Kubernetes
Checks