Skip to content

DOC-1288 Remove limitation on reducing core count#1093

Merged
JakeSCahill merged 3 commits intomainfrom
JakeSCahill-patch-5
May 6, 2025
Merged

DOC-1288 Remove limitation on reducing core count#1093
JakeSCahill merged 3 commits intomainfrom
JakeSCahill-patch-5

Conversation

@JakeSCahill
Copy link
Contributor

@JakeSCahill JakeSCahill commented Apr 29, 2025

Description

Resolves https://redpandadata.atlassian.net/browse/DOC-1288
Review deadline: April 29

Page previews

Checks

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

Summary by CodeRabbit

Summary by CodeRabbit

  • Documentation
    • Improved clarity and consistency in the scaling instructions for Redpanda clusters on Kubernetes.
    • Updated terminology for horizontal and vertical scaling.
    • Enhanced explanations of scaling benefits and autoscaler usage.
    • Refined wording throughout for better readability and precision.

@JakeSCahill JakeSCahill requested a review from a team as a code owner April 29, 2025 14:30
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Apr 29, 2025

📝 Walkthrough

Walkthrough

The changes are limited to documentation updates in the Kubernetes Redpanda scaling guide. The revisions focus on improving clarity, consistency, and readability of the instructions for scaling Redpanda clusters. Terminology was updated for precision, explanations were reworded for better understanding, and some cautionary language was softened. The outdated limitation on reducing CPU cores in a running cluster was removed. No code or functional logic was altered.

Changes

File(s) Change Summary
modules/manage/pages/kubernetes/k-scale-redpanda.adoc Revised documentation for clarity, consistency, and readability regarding scaling Redpanda clusters on Kubernetes. Removed outdated limitation on reducing CPU cores. Softened cautionary language on autoscalers. No changes to code or control flow.

Sequence Diagram(s)

No sequence diagram generated as the changes are documentation-only and do not affect control flow or introduce new features.

Assessment against linked issues

Objective Addressed Explanation
Remove limitation on reducing cores in K8s (DOC-1288)

📜 Recent review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between c771451 and 576701f.

📒 Files selected for processing (1)
  • modules/manage/pages/kubernetes/k-scale-redpanda.adoc (3 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • modules/manage/pages/kubernetes/k-scale-redpanda.adoc
⏰ Context from checks skipped due to timeout of 90000ms (3)
  • GitHub Check: Redirect rules - redpanda-docs-preview
  • GitHub Check: Header rules - redpanda-docs-preview
  • GitHub Check: Pages changed - redpanda-docs-preview

🪧 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.
    • Generate unit testing code for this file.
    • 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 generate unit testing code for this file.
    • @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 generate unit testing code.
    • @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.

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.

@JakeSCahill JakeSCahill requested a review from travisdowns April 29, 2025 14:31
@netlify
Copy link

netlify bot commented Apr 29, 2025

Deploy Preview for redpanda-docs-preview ready!

Name Link
🔨 Latest commit cf7d316
🔍 Latest deploy log https://app.netlify.com/sites/redpanda-docs-preview/deploys/6810f61cb44ba50008e7abc7
😎 Deploy Preview https://deploy-preview-1093--redpanda-docs-preview.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 site configuration.

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 (4)
modules/manage/pages/kubernetes/k-scale-redpanda.adoc (4)

7-7: Enhance parallel phrasing
For improved readability and to clearly delineate vertical vs. horizontal scaling, consider using parentheses instead of commas.

- You can scale a cluster both vertically, by increasing or decreasing the resources available to existing brokers, and horizontally, by adding or removing brokers from the cluster.
+ You can scale a cluster both vertically (by increasing or decreasing the resources available to existing brokers) and horizontally (by adding or removing brokers from the cluster).

11-11: Condense resource definition
The phrase “amount of hardware available to Redpanda brokers” is a bit wordy. Consider tightening it to “hardware resources” for conciseness:

- Resources include the amount of hardware available to Redpanda brokers, such as CPU cores, memory, and storage.
+ Resources include hardware resources such as CPU cores, memory, and storage.

30-30: Use imperative voice for caution
Switching to an imperative mood strengthens the warning. For example:

- CAUTION: Redpanda does not support Kubernetes autoscalers. Autoscalers rely on CPU and memory metrics for scaling decisions, which do not fully capture the complexities involved in scaling Redpanda clusters. You should always manually scale your Redpanda clusters as described in this topic.
+ CAUTION: Redpanda does not support Kubernetes autoscalers. Autoscalers rely on CPU and memory metrics for scaling decisions, which do not fully capture Redpanda’s complexities. Always manually scale your Redpanda clusters as described in this topic.

34-34: Break up lengthy caution sentence
The current sentence is quite long. Splitting it improves readability:

- While you should not rely on Kubernetes autoscalers to scale your Redpanda brokers, you can prevent infrastructure-level autoscalers, such as Karpenter, from terminating nodes that run Redpanda Pods.
+ Do not rely on Kubernetes autoscalers to scale your Redpanda brokers. Instead, prevent infrastructure-level autoscalers—such as Karpenter—from terminating nodes that host Redpanda Pods.
📜 Review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between 460f54a and c771451.

📒 Files selected for processing (1)
  • modules/manage/pages/kubernetes/k-scale-redpanda.adoc (3 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (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/pages/kubernetes/k-scale-redpanda.adoc (2)

18-18: Approve consistent gerund usage
The change from “Deleting each worker node one by one” to “Deleting each worker node individually” maintains the gerund style used throughout the list and reads clearly.


45-45: Approve expanded scaling out description
The revised text clearly outlines the benefits of scaling out (throughput, availability, fault tolerance) and emphasizes large datasets. This enhances reader understanding without altering intent.

@JakeSCahill JakeSCahill changed the title Remove limitation on reducing core count DOC-1288 Remove limitation on reducing core count Apr 29, 2025
@JakeSCahill JakeSCahill requested review from chrisseto and removed request for travisdowns April 29, 2025 15:04
@travisdowns
Copy link
Member

@michael-redpanda this falls in your area on the core side: can you maybe find someone to take a peek at this docs update?

Copy link
Contributor

@Feediver1 Feediver1 left a comment

Choose a reason for hiding this comment

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

lgtm

@michael-redpanda
Copy link
Contributor

@michael-redpanda this falls in your area on the core side: can you maybe find someone to take a peek at this docs update?

@travisdowns I think you meant @mmaslankaprv ?

@travisdowns
Copy link
Member

@travisdowns I think you meant @mmaslankaprv ?

Oops yes sorry.

@JakeSCahill JakeSCahill merged commit b61fc39 into main May 6, 2025
8 checks passed
@JakeSCahill JakeSCahill deleted the JakeSCahill-patch-5 branch May 6, 2025 13:32
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