fix(hostedclustersizing): add override fall back#7554
Conversation
When ClusterSizeOverrideAnnotation is set to a value not found in the ClusterSizingConfiguration, the controller now gracefully falls back to autoscaling (if enabled) or node count sizing, rather than skipping sizing entirely. Signed-off-by: Brendan Bergen <bbergen@redhat.com> Assisted-by: Claude Opus 4.5 (via Cursor)
|
Skipping CI for Draft Pull Request. |
|
Important Review skippedAuto reviews are limited based on label configuration. 🚫 Review skipped — only excluded labels are configured. (1)
Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Comment |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: SudoBrendan The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@SudoBrendan: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions 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. |
|
PR needs rebase. DetailsInstructions 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 now have all the evidence to produce the report. Let me compile the final analysis. Test Failure Analysis CompleteJob Information
Test Failure AnalysisErrorSummaryThe tide error is not a test failure — it is a merge-conflict blocker. PR #7554 was created on 2026-01-20 and has never been rebased. The branch is now 1,350 commits behind Root CauseMerge conflict due to a 4-month-old un-rebased branch, with conflicting refactors on The PR modifies
The branch is 1,350 commits behind Secondary issue — Konflux Enterprise Contract failures (3 checks): Importantly: All actual CI test jobs passed — Recommendations
Evidence
|
What this PR does / why we need it:
Today, if you set the size override annotation, but that size isn't an exact string match of what's in the config, your cluster will remain unsized rather than falling back to the standard logic (autoscale / node size). The only indication this has happened is a log message in the controller.
NOTE: I think this seems odd - do others agree this is a bug, not a feature? Is there a reason to prefer an unsized cluster when the override is set incorrectly that I'm unaware of?
Which issue(s) this PR fixes:
Adjacent work I happened to discover while trying to refine what CNTRLPLANE-2581 would be
Special notes for your reviewer:
Checklist: