Controller to deploy KSM per HCP #5383
All Vouch review confidence checks passed
Residual risk 0.22 = Change Risk (0.56) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.56 · 140 lines diff across 1 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.296
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.056
Real PR Conversation Timeline
1 comments
"Review active on #5383"
general
weight: 0.35
venkateshsredhat
https://redhat.atlassian.net/browse/AROSLSRE-1014
What
Deploy kube-state-metrics per HCP to monitor worker node health.
Why
HCP worker nodes are invisible to the management cluster's KSM - they register with the HCP's own API server. This controller deploys a KSM instance into each HCP namespace to scrape node metrics and forward them to the HCP Azure Managed Prometheus workspace
How
The mgmt-agent watches HostedControlPlane CRs and creates a KSM Deployment, Service, and ServiceMonitor per HCP. KSM connects to the HCP API server via
service-network-admin-kubeconfigand exposeskube_node_status_conditionandkube_node_infometrics. The ServiceMonitor injects thenamespacelabel so metrics route to the HCP Azure Monitor Workspace. Theregionandenvironmentlabels are added globally via Prometheus external labels.Testing
https://arohcp-dev-c9g7a4fjanb0c4gc.wus3.grafana.azure.com/goto/2KCMG8xvR?orgId=1