-
Notifications
You must be signed in to change notification settings - Fork 423
CNTRLPLANE-1015: docs: add resource-based control plane autoscaling guide #7275
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
Conversation
|
Skipping CI for Draft Pull Request. |
WalkthroughAdds a new how-to guide describing Resource-Based Control Plane Autoscaling for AWS HostedClusters (dedicated-request-serving-components), plus a mkdocs navigation entry to expose the guide in the How-to section. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
✨ Finishing touches🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: csrwng The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
|
@csrwng: This pull request references CNTRLPLANE-1015 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.21.0" version, but no target version was set. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
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
🧹 Nitpick comments (1)
docs/content/how-to/resource-based-control-plane-autoscaling.md (1)
145-145: Simplify "in conjunction with" to "with".The phrase "in conjunction with" is unnecessarily wordy. Simplify to improve readability.
-- **`hypershift.openshift.io/resource-based-cp-auto-scaling`**: Set to `"true"` to enable resource-based autoscaling for the HostedCluster. This annotation must be used in conjunction with the `dedicated-request-serving-components` topology. +- **`hypershift.openshift.io/resource-based-cp-auto-scaling`**: Set to `"true"` to enable resource-based autoscaling for the HostedCluster. This annotation must be used with the `dedicated-request-serving-components` topology.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
Cache: Disabled due to data retention organization setting
Knowledge base: Disabled due to Reviews -> Disable Knowledge Base setting
📒 Files selected for processing (2)
docs/content/how-to/resource-based-control-plane-autoscaling.md(1 hunks)docs/mkdocs.yml(1 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
**
⚙️ CodeRabbit configuration file
-Focus on major issues impacting performance, readability, maintainability and security. Avoid nitpicks and avoid verbosity.
Files:
docs/content/how-to/resource-based-control-plane-autoscaling.mddocs/mkdocs.yml
🪛 LanguageTool
docs/content/how-to/resource-based-control-plane-autoscaling.md
[style] ~145-~145: ‘in conjunction with’ might be wordy. Consider a shorter alternative.
Context: ...edCluster. This annotation must be used in conjunction with the `dedicated-request-serving-componen...
(EN_WORDINESS_PREMIUM_IN_CONJUNCTION_WITH)
🪛 markdownlint-cli2 (0.18.1)
docs/content/how-to/resource-based-control-plane-autoscaling.md
203-203: Fenced code blocks should have a language specified
(MD040, fenced-code-language)
⏰ 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). (2)
- GitHub Check: Red Hat Konflux / hypershift-cli-mce-211-on-pull-request
- GitHub Check: Red Hat Konflux / hypershift-release-mce-211-on-pull-request
🔇 Additional comments (2)
docs/content/how-to/resource-based-control-plane-autoscaling.md (1)
1-238: Comprehensive and well-structured documentation.The guide provides clear, actionable guidance on resource-based control plane autoscaling. Prerequisites are detailed with step-by-step instructions, configuration examples are properly formatted, and the troubleshooting section follows a logical verification flow. The content appropriately highlights AWS-only availability and the required topology annotation.
docs/mkdocs.yml (1)
69-69: Navigation entry added correctly.The new documentation entry is properly positioned in the "How-to guides" section with consistent formatting and indentation matching the surrounding entries.
docs/content/how-to/resource-based-control-plane-autoscaling.md
Outdated
Show resolved
Hide resolved
Add comprehensive documentation for resource-based control plane autoscaling feature, including prerequisites, configuration, and troubleshooting steps. Signed-off-by: Cesar Wong <[email protected]> Assisted-by: Composer (via Cursor)
9458d7e to
5791d01
Compare
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: 0
🧹 Nitpick comments (1)
docs/content/how-to/resource-based-control-plane-autoscaling.md (1)
145-145: Consider simplifying wordy phrasing.Replace "in conjunction with" with a more concise alternative like "with" or "alongside" for better readability.
- **`hypershift.openshift.io/resource-based-cp-auto-scaling`**: Set to `"true"` to enable resource-based autoscaling for the HostedCluster. This annotation must be used in conjunction with the `dedicated-request-serving-components` topology. + **`hypershift.openshift.io/resource-based-cp-auto-scaling`**: Set to `"true"` to enable resource-based autoscaling for the HostedCluster. This annotation must be used alongside the `dedicated-request-serving-components` topology.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
Cache: Disabled due to data retention organization setting
Knowledge base: Disabled due to Reviews -> Disable Knowledge Base setting
📒 Files selected for processing (2)
docs/content/how-to/resource-based-control-plane-autoscaling.md(1 hunks)docs/mkdocs.yml(1 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
- docs/mkdocs.yml
🧰 Additional context used
📓 Path-based instructions (1)
**
⚙️ CodeRabbit configuration file
-Focus on major issues impacting performance, readability, maintainability and security. Avoid nitpicks and avoid verbosity.
Files:
docs/content/how-to/resource-based-control-plane-autoscaling.md
🪛 LanguageTool
docs/content/how-to/resource-based-control-plane-autoscaling.md
[style] ~145-~145: ‘in conjunction with’ might be wordy. Consider a shorter alternative.
Context: ...edCluster. This annotation must be used in conjunction with the `dedicated-request-serving-componen...
(EN_WORDINESS_PREMIUM_IN_CONJUNCTION_WITH)
🔇 Additional comments (1)
docs/content/how-to/resource-based-control-plane-autoscaling.md (1)
1-238: Well-structured and comprehensive documentation.The guide effectively covers the complete user journey from prerequisites through troubleshooting. The step-by-step VPA installation instructions, configuration examples, and practical monitoring/troubleshooting sections are clearly presented with actionable commands. The markdown formatting is correct (including the previous MD040 fix at line 203), and examples are reproducible. The logical flow from setup to operation makes this accessible for users implementing the feature.
|
@csrwng: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
@csrwng this looks fine to me but I ran it through an AI code reviewer and it had some interesting suggestions so sharing those here. I'll tag this and put a hold on it in case you do want to make some changes based off this AI code review: |
|
/lgtm |
|
/lgtm |
|
/verified by @csrwng |
|
@csrwng: This PR has been marked as verified by In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/hold cancel |
What this PR does / why we need it:
Add comprehensive documentation for resource-based control plane autoscaling feature, including prerequisites, configuration, and troubleshooting steps.
Assisted-by: Composer (via Cursor)