feat(recipes): add NVKE Telemetry Pipeline (NKTP) to the registry #3451
All Vouch review confidence checks passed
Residual risk 0.20 = Change Risk (0.50) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.50 · 593 lines diff across 7 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.382
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #3451"
general
weight: 0.35
yuanchen8911
Summary
Adds NKTP, the NVKE Telemetry Pipeline (ADR-026), as an
opsregistry component with values, a Chainsaw health check, and a bundle-time validation. No stock recipe selects it yet; switching recipes over is #3445.Motivation / Context
First step of ADR-026: make NKTP available as a component so overlays can adopt it.
Fixes: #3444
Related: #3445
Type of Change
Component(s) Affected
cmd/aicr,pkg/cli)cmd/aicrd,pkg/server)pkg/recipe)pkg/bundler,pkg/component)pkg/collector,pkg/snapshotter)pkg/validator)pkg/errors,pkg/k8s)docs/,examples/)recipes/checks/nktp), drift-report testsImplementation Notes
0.1.1-rc.3(moves to0.1.1at GA). Images are the chart's defaults at that version, with no digest overrides, per ADR-006 Decision 3.ownsCRDs: truefor theopentelemetry.ioCRDs;ownsCRDsExcludeSubchartsdropsprometheus-crds(owned byprometheus-operator-crds) andopentelemetry-operator(itsconf/crds/holds Helm templates). The NVSentinel CRD exclusion render test is generalized toTestCRDExclusionsMatchChart, which checks every entry against the pinned chart.CheckNKTPExportersHaveBackend(severityerror) fails the bundle whenotel-lgtmis disabled (or deferred with--dynamic) while any of the five backend exporter endpoints is unset, since the chart default points them at the missingotel-lgtmService.nodeSchedulingso system-toleration injection doesn't replace theiroperator: Existstoleration.cert-manager,prometheus-operator-crds,kube-prometheus-stack) land with the overlays that select it.Testing
-race, and lint reports 0 issues.make qualifypasses, with 86.1% total coverage against the 83% floor.- Bundles that include
nktprender on all seven deployers.-
aicr mirror listfinds all 8 images, listed by tag.- The stock render golden gains only a
+nktpfixture.- The health check passes 26 synthetic cluster states in the in-process executor, and the pinned Chainsaw CLI accepts it (
chainsaw lint).cert-manager,prometheus-operator-crds, andnktpadded through a local overlay:- The CRD step applied only the 4
opentelemetry.ioCRDs. The monitoring CRDs stayed owned byprometheus-operator-crds.- All 21 pods became ready, with
preemptionPolicy: Never.- The health check passes on the healthy install. It fails when
lgtmis removed or the metrics API is down. This ran on a copy of the check with its YAML anchors expanded; the final file expands to the identical document.-
upseries reachotel-lgtm.-
helm uninstallruns the pre-delete hook, removes the collectors, and keeps the CRDs.- Test-only overrides: NKTP's metrics-server turned on, since Kind has no metrics API; fewer replicas; and smaller Target Allocator memory requests, to fit an 8 GB node.
| Package | Coverage before | Coverage after |
|---|---|---|
|
pkg/bundler/validations| 95.0% | 95.0% ||
pkg/chainsaw| 82.0% | 82.0% |Risk Assessment
Rollout notes: N/A. No stock recipe includes the component, so existing bundles are unchanged.
Checklist
make testwith-race)make lint)git commit -s -S) — GPG signing info