Skip to content

Conversation

@micheleRP
Copy link
Contributor

@micheleRP micheleRP commented Jul 8, 2025

Description

This pull request updates the documentation in config-cluster.adoc to clarify prerequisites for configuring cluster properties. The changes emphasize version requirements and provide additional instructions for verifying the rpk cloud context.

  • Updated the prerequisites to highlight version requirements more clearly by reformatting and emphasizing Redpanda and rpk version numbers. ([modules/manage/pages/cluster-maintenance/config-cluster.adocL12-R16](https://github.com/redpanda-data/cloud-docs/pull/347/files#diff-c8fbb49e2369d966902a69910a95b4e432a6931f6efaf898897f416acbd9cd8dL12-R16))
  • Added instructions for verifying the rpk cloud context by running rpk cloud login and selecting the appropriate cluster. ([modules/manage/pages/cluster-maintenance/config-cluster.adocL12-R16](https://github.com/redpanda-data/cloud-docs/pull/347/files#diff-c8fbb49e2369d966902a69910a95b4e432a6931f6efaf898897f416acbd9cd8dL12-R16))

Resolves https://redpandadata.atlassian.net/browse/DOC-1478
Review deadline:

Page previews

Configure Cluster Properties - Prerequisites

Checks

  • New feature
  • Content gap
  • Support Follow-up
  • Small fix (typos, links, copyedits, etc)

@micheleRP micheleRP requested a review from a team as a code owner July 8, 2025 19:06
@netlify
Copy link

netlify bot commented Jul 8, 2025

Deploy Preview for rp-cloud ready!

Name Link
🔨 Latest commit 0c1e325
🔍 Latest deploy log https://app.netlify.com/projects/rp-cloud/deploys/6876678599817b0008bb8f01
😎 Deploy Preview https://deploy-preview-347--rp-cloud.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jul 8, 2025

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.

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

📝 Walkthrough

Walkthrough

The changes update the prerequisites section of the config-cluster.adoc documentation file. The Redpanda and rpk version requirements are now clearly emphasized as "Redpanda version 25.1.2+" and "rpk version 25.1.2+ and cloud context." An additional instruction has been added, advising users to verify they are operating in the correct cloud context by running rpk cloud login and selecting their cluster. No changes were made to code or procedural steps beyond these documentation clarifications.

Assessment against linked issues

Objective Addressed Explanation
Update consumer group lag in Cloud (DOC-1478) The documentation update does not mention or address consumer group lag or related content.

Possibly related PRs

  • DOC-1274 Azure doc edits #275: Updates documentation to clarify prerequisites and instructions related to rpk usage and version requirements, indicating a related focus on improving user guidance for cluster setup and management.
  • DOC-1283 add rpk to config-cluster.adoc #278: Adds detailed instructions and examples for using rpk cluster config to set cluster properties, modifying the same documentation file and relating to rpk usage for cluster configuration.
  • DOC-1479 add rpk requirement for cluster config #342: Updates the same documentation file to clarify prerequisites for cluster configuration, emphasizing Redpanda version 25.1.2+ and adding rpk version requirements and usage instructions.

Suggested reviewers

  • c4milo
  • Feediver1

🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (2)
modules/manage/pages/cluster-maintenance/config-cluster.adoc (2)

12-13: Avoid hard-coding the Redpanda version; use an AsciiDoc attribute instead
Hard-coding 25.1.2+ will require a sweep across many docs on every release. Prefer something like {rp-version}+ (or the existing project-wide attribute) to ensure the number auto-updates.

-* *Redpanda version 25.1.2+*: To configure cluster properties, the cluster must be running Redpanda version 25.1.2 or later.
+* *Redpanda version {rp-version}+*: To configure cluster properties, the cluster must be running Redpanda version {rp-version} or later.

14-16: Surface the rpk cloud login command as a fenced code block for better readability
Inline code gets lost in long paragraphs. Presenting the command as a short snippet improves scanning and copy/paste.

-To verify that you're running `rpk` in the correct cloud context, run `rpk cloud login` and select your cluster.
+To verify that you're running `rpk` in the correct cloud context, run:
+
+[source,bash]
+----
+rpk cloud login
+----
+Then select your cluster.
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between b83d30a and 5dea04f.

📒 Files selected for processing (1)
  • modules/manage/pages/cluster-maintenance/config-cluster.adoc (1 hunks)
🧰 Additional context used
🧠 Learnings (2)
📓 Common learnings
Learnt from: micheleRP
PR: redpanda-data/cloud-docs#267
File: modules/manage/pages/maintenance.adoc:63-64
Timestamp: 2025-04-25T01:42:09.318Z
Learning: The timeline for major upgrade notifications (180 days in advance) was intentionally removed from the Redpanda Cloud maintenance documentation, even though it was mentioned in the PR objectives.
Learnt from: micheleRP
PR: redpanda-data/cloud-docs#267
File: modules/manage/pages/maintenance.adoc:91-92
Timestamp: 2025-04-25T01:41:57.162Z
Learning: The notification timeline for Redpanda Cloud deprecations has been deliberately removed from the documentation, even though the PR summary mentioned a 180-day advance notice period.
Learnt from: micheleRP
PR: redpanda-data/cloud-docs#334
File: modules/networking/partials/psc-api2.adoc:15-16
Timestamp: 2025-06-18T21:02:38.074Z
Learning: In the Redpanda Cloud documentation system, cross-reference anchors using the format `#patch-/v1/clusters/-cluster.id-` work correctly for referencing API endpoints, even with dashes instead of curly braces around parameter names.
Learnt from: micheleRP
PR: redpanda-data/cloud-docs#261
File: modules/get-started/pages/cluster-types/byoc/aws/create-byoc-cluster-aws.adoc:46-50
Timestamp: 2025-04-18T19:43:32.991Z
Learning: In the Redpanda documentation using AsciiDoc format, explanatory text that provides additional information about a step should not be formatted as a separate numbered step. Instead, it should appear as regular text with bullets (using ** syntax) for any sub-points.
modules/manage/pages/cluster-maintenance/config-cluster.adoc (2)
Learnt from: micheleRP
PR: redpanda-data/cloud-docs#267
File: modules/manage/pages/maintenance.adoc:63-64
Timestamp: 2025-04-25T01:42:09.318Z
Learning: The timeline for major upgrade notifications (180 days in advance) was intentionally removed from the Redpanda Cloud maintenance documentation, even though it was mentioned in the PR objectives.
Learnt from: micheleRP
PR: redpanda-data/cloud-docs#267
File: modules/manage/pages/maintenance.adoc:91-92
Timestamp: 2025-04-25T01:41:57.162Z
Learning: The notification timeline for Redpanda Cloud deprecations has been deliberately removed from the documentation, even though the PR summary mentioned a 180-day advance notice period.
⏰ 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 - rp-cloud
  • GitHub Check: Header rules - rp-cloud
  • GitHub Check: Pages changed - rp-cloud

Copy link
Contributor

@kbatuigas kbatuigas left a comment

Choose a reason for hiding this comment

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

Just one comment, but no blockers.

Comment on lines 14 to 16
* *`rpk` version 25.1.2+ and cloud context*: To use `rpk` to configure cluster properties, you must be using `rpk` version 25.1.2 or later. To check your current version, see xref:manage:rpk/rpk-install.adoc[].
+
To verify that you're running `rpk` in the correct cloud context, run `rpk cloud login` and select your cluster.
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure about "cloud context", it seems a little vague to me. The second paragraph indicates that it's something to do with rpk talking to the correct target cluster - I think if we explain it that way, it's more simple and direct than leaving it at "cloud context".

Copy link

@hcoyote hcoyote Jul 14, 2025

Choose a reason for hiding this comment

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

instead of context, should this say something like "ensure you're logged into the control plane with rpk and you have the appropriate rpk profile configured for the target cluster?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@hcoyote do you need to do this (log into control plane with rpk...) even in you plan to configure cluster properties only via the Cloud API (and not rpk); i.e., is this rpk prereq required even if you don't configure properties with rpk?

@micheleRP micheleRP merged commit 6442dea into main Jul 15, 2025
5 checks passed
@micheleRP micheleRP deleted the DOC-1478-update-consumer-group-lag-in-Cloud branch July 15, 2025 16:38
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.

6 participants