← Back to Pull requests

OCPBUGS-79502: Enable AutoSizingReserved for Hypershift workers #5847

Closed
unknown closed this pull request without merging on May 18, 2026 13:51 UTC
View on GitHub
unknown unknown commented on Apr 14, 2026 21:01 UTC
Author

AutoSizingReserved was disabled for Hypershift (ControlPlaneTopology=External) in PR #5390 because the old dynamic reservation formula reserved too much memory on small nodes, causing platform pods to fail scheduling.

MCO PR #5716 fixed the formula by reducing reservation on 8 GiB nodes from 2 GiB back to 1 GiB, making it safe to re enable AutoSizingReserved for Hypershift worker nodes.

Ref: OCPBUGS-79502

- What I did
Removed the Hypershift (ControlPlaneTopology=External) exception that disabled AutoSizingReserved on worker nodes. Removed TestKubeletAutoNodeSizingDisabledForHypershift since there is no longer any Hypershift-specific logic to test.

- How to verify it

  • Unit tests: go test ./pkg/controller/template/... -run TestKubeletAutoNodeSizing -v

  • Payload-test with Hypershift e2e to confirm platform pods schedule successfully on small instance types with AutoSizingReserved enabled.
  • - Description for the changelog
    Re-enable AutoSizingReserved for Hypershift worker nodes now that dynamic memory reservation has been reduced (MCO #5716)

    <!-- This is an auto-generated comment: release notes by coderabbit.ai -->

    Summary by CodeRabbit

    Bug Fixes
    Kubelet auto node sizing now writes NODE_SIZING_ENABLED=true unconditionally (no longer toggled by control-plane topology), so node sizing is enabled consistently across deployments. Existing system-reserved settings (memory, CPU, ES) remain unchanged.
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->

    Diff: 192 lines (+144 / -48) across 2 files Reviewer: nispriha Review duration: 48529m
    All Vouch review confidence checks passed
    Residual risk 0.14 = Change Risk (0.36) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.36 · 192 lines diff across 2 files
    0.36
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.315
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #5847"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 35.9% (MEDIUM) · Higher = larger blast radius
    35.9%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 14.2% · Safe to merge
    14.2%