Add replicas field for HA deployments #340
All Vouch review confidence checks passed
Residual risk 0.24 = Change Risk (0.60) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.60 · 225 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.324
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.060
Real PR Conversation Timeline
1 comments
"Review active on #340"
general
weight: 0.35
Fedosin
Summary
Adds optional
replicasfield toGenericDeploymentSpecfor configuring replica counts per KEDA component (operator, metricsServer, admissionWebhooks), enabling HA deployments.Changes
Replicas *int32field toGenericDeploymentSpec- Operator: 0-2 replicas (allows 0 for maintenance scenarios, max 2 for HA)
- MetricsServer: minimum 1 replica, no maximum limit
- AdmissionWebhooks: minimum 1 replica, no maximum limit
minimum: 0at API server levelExample Usage
Benefits
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit
- Added configurable replica counts for deployment components, including the operator, metrics server, admission webhooks, and HTTP Add-on deployments.
- Replica settings now use consistent validation; operator, metrics server, and admission webhook counts must be at least one when specified.
- Configuration and secret updates now refresh controller status without deleting or restarting the metrics server pod.
- Standardized replica descriptions and validation across deployment configuration schemas.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->