← Back to Pull requests

DRA: size all-features e2e jobs to 3.5 CPU / 13Gi #37985

Closed
unknown closed this pull request without merging on Oct 06, 2026 07:22 UTC
View on GitHub
unknown unknown commented on Oct 05, 2026 18:12 UTC
Author

What does this PR do?

Increase the CPU and memory resources for the DRA all-features e2e jobs from 2 CPU / 12Gi to 3.5 CPU / 13Gi.

This is part of the follow-up work for #142440, where pull-kubernetes-kind-dra-all was observed to intermittently stall and lose API connectivity.

Background

The investigation into #142440 initially found significant CPU pressure under the existing 2 CPU / 12Gi resource limit.

A local replay using the same job setup showed:

  • around 93% of CFS periods were throttled with a 2 CPU limit;

  • the workload was using almost the full 2 CPU quota;

  • kubelet and control-plane activity experienced significant delays.
  • A comparison with 8 CPUs removed the CPU throttling and completed all 151/151 specs successfully with a clean Log Check.

    The subsequent investigation also found memory pressure during the failing runs. The job repeatedly reached the 12Gi memory limit, with RSS growing to roughly 11.4 GiB while the page cache was squeezed and disk rereads increased significantly. Memory and I/O pressure coincided with the long periods where etcd, cAdvisor, kubelet journaling, and API-dependent operations stalled.

    Based on the build cluster's available resources, the proposed sizing was to use approximately half of a node per job.

    The build nodes provide approximately:

  • 7.91 CPU allocatable

  • 29.2 GiB allocatable
  • After accounting for DaemonSets and the Prow sidecar, 3.5 CPU / 13Gi per test container allows two of these jobs to fit concurrently on a node.

    Changes

    Update the job_type == "e2e" and all_features resource block in dra.jinja:

    CPU:    2    -> 3.5
    Memory: 12Gi -> 13Gi
    

    Issue

    Related to https://github.com/kubernetes/kubernetes/issues/142440

    Diff: 223 lines (+167 / -56) across 2 files Reviewer: thc1006 Review duration: 790m
    All Vouch review confidence checks passed
    Residual risk 0.15 = Change Risk (0.37) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.37 · 223 lines diff across 2 files
    0.37
    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.324
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #37985"
    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: 36.8% (MEDIUM) · Higher = larger blast radius
    36.8%
    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.5% · Safe to merge
    14.5%