AUTOSCALE-1069: approve CSRs of Karpenter-provisioned Azure nodes #76
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 · 236 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.327
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #76"
general
weight: 0.35
linkvt
Karpenter-provisioned Azure nodes needed manual CSR approval because the Azure provider had no
NodeIdentityVerifier, so the machine approver was not enabled on Azure.On Azure the node name equals the VM name, and Karpenter stores the VM resource ID as the NodeClaim provider ID. The verifier approves a node name only if a pending NodeClaim's provider ID points to a VM with that name in the configured subscription and node resource group. Unlike AWS, no cloud API call is needed since the name is part of the provider ID.
The second commit fixes a pre-existing gap in the shared controller. The kubelet submits its serving CSR before Karpenter sets
NodeClaim.status.nodeName, which only happens once the Node's provider ID exists. The serving path looked up the NodeClaim bystatus.nodeName, found none, and dropped the CSR, so new nodes had no trusted kubelet serving certificate until the kubelet retried ~15 minutes later. The serving path now resolves the NodeClaim by provider ID like the client path, so the CSR is approved on first reconcile.Verified on a live Azure hosted cluster
Ready.status.nodeNameis already set.status.nodeNamewas set, stayed Pending for 15 minutes until the kubelet resubmitted it.kubectl logsagainst pods on the node failed withremote error: tls: internal errorduring that window.