feat(spark-operator-module): add durable controller tuning knobs #215
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 294 lines diff across 3 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.340
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #215"
general
weight: 0.35
RobuRishabh
Purpose of this PR
Adds durable Spark Operator controller tuning through the platform-managed
SparkOperatorcustom resource.Previously, controller workers, workqueue settings, and Kubernetes API client limits could only be changed by patching the managed Deployment. The Spark Operator module could reconcile those changes back to the rendered defaults.
Proposed changes:
spec.spark.controllerConfigurationfields for:- Controller workers
- Workqueue bucket QPS, bucket size, and maximum-delay enable/duration
- Kubernetes API client QPS and burst
spark-operator-controllerDeployment during reconciliation.Change Category
Rationale
The Spark Operator module owns and continuously reconciles the controller Deployment. Direct Deployment patches are therefore not a durable way to configure controller behavior.
Exposing these settings through the
SparkOperatorCR makes them part of the module's desired state. Controller restarts and subsequent module reconciliations preserve the configured values.All fields are optional, maintaining backward compatibility for existing custom resources. The field layout follows the upstream Helm values used by the Spark Operator benchmarking guide.
Checklist
Additional Notes
Example configuration: