AUTOSCALE-998: deploy karpenter-provider-aws on HCP #26
All Vouch review confidence checks passed
Residual risk 0.26 = Change Risk (0.59) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.59 · 197 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.316
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.059
Real PR Conversation Timeline
1 comments
"Review active on #26"
general
weight: 0.35
joelsmith
PR is split into 2 commits, one which is the vendoring of the
hypershift/apimodule to make review easier, and the other which is the main business logic introduced.---
Adds logic to allow the karpenter-operator to deploy
karpenter-provider-awson HCP.In particular, this commit adds a new
hcp_controller.gowhich watches HostedCluster objects.The HCP karpenter controller only runs on Management mode.
When it detects a HostedCluster object (i.e. always), it will rollout a Karpenter deployment, with a ServiceAccount.
The deployment is now configured to contain HCP specific plumbing:
- the token minter image for the operand can be configured by a new env var to the karpenter-operator
TOKEN_MINTER_IMAGEThis PR also refactors out common code to operands on both OCP and HCP.
---
To make this all work e2e, this requires a followup in
openshift/hypershift, to allow the deployment model to propagateTOKEN_MINTER_IMAGEto thekarpenter-operatorpod.Note ##
I'm not particularly fond of the current structure i've put the controllers and code. I.e.
hcp_controller.goandocp_controller.go. If anyone has any better naming systems or code reorganization patterns for this repo, I'm happy to accept any feedback about that :-)