AEP-9936: Per-VPA Observation Window #9962
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.37) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 230 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
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.326
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #9962"
general
weight: 0.35
iamzili
This is the AEP for #9936 (Per-VPA Observation Window).
The proposal adds an optional
initialDelaySecondsfield onPodUpdatePolicy(named to match Pod probes). During the window, the Updater and the Admission Controller treat the VPA as ifupdateModewereOff, regardless of the configured mode: no evictions, no in-place resizes, and no recommendation injection into pods created during the window. The Recommender is unaffected and continues to publish recommendations tostatus.recommendation. After the window elapses, the configured mode takes effect. Works uniformly acrossRecreate,InPlaceOrRecreate,InPlace, andInitial.Off + initialDelaySecondssilently no-ops.The gate is a pure function of
vpa.CreationTimestampand the currentinitialDelaySecondsvalue, re-evaluated on every reconcile. Gate state is surfaced via anInitialDelayActivestatus condition and avpa_initial_delay_activegauge, behind aVPAInitialDelayfeature gate.Refs #9936.
/kind feature
/area vertical-pod-autoscaler
/sig autoscaling
/assign
/cc @omerap12 @adrianmoisey
``
release-note
``NONE
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit
Documentation
Added a design proposal for configurable observation windows per Vertical Pod Autoscaler.
Documents an optional initial delay before automated pod updates and admission-time recommendation injection.
Recommendations continue to be published during the configured delay.
Covers validation limits, status conditions, metrics, feature-gate behavior, version compatibility, testing, examples, alternatives, and implementation history.
Defines the proposed delay setting and its evaluation based on VPA creation time.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->