KEP-5915: Trace Context Propagation and Distributed Tracing for Controllers #6505
All Vouch review confidence checks passed
Residual risk 0.22 = Change Risk (0.39) × (1 − Review Confidence (0.43)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 254 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 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
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.332
Real PR Conversation Timeline
1 comments
"Review active on #6505"
general
weight: 0.35
RaphSku
Description
This PR proposes KEP-5915: Trace Context Propagation and Distributed Tracing for Controllers under SIG Instrumentation (superseding #5916, co-authored with @artem-tkachuk).
It defines a standard convention (
tracing.k8s.io/annotations mapped dynamically from the installed OpenTelemetryTextMapPropagator), an out-of-tree mutating admission webhook sub-project undersig-instrumentationfor atomic context injection on desired-state mutations, and in-tree helpers ink8s.io/component-base/tracing(ObjectCarrier,WithObjects,LinkTracker, and link-aware sampling) to connect asynchronous controller reconciliation loops across object boundaries via OpenTelemetry Span Links (SpanKindInternal).tracing.k8s.io/annotations, an out-of-tree mutating admission webhook sub-project undersig-instrumentation, and Span Link extraction helpers ink8s.io/component-base/tracing, with alpha instrumentation for theDeploymentandReplicaSetcontrollers inkube-controller-manager.alpha(v1.39),stage: implementablesig-instrumentation(owning),sig-api-machinery,sig-appsPrototype Diffs
kubernetes/kubernetesPrototype (k8s.io/apiserver,k8s.io/component-base/tracing,kube-controller-manager,Deployment&ReplicaSetcontrollers):https://github.com/kubernetes/kubernetes/compare/master...dashpole:kubernetes:async-controller-tracing
tracing-admission-webhookPrototype (sig-instrumentationsub-project):- Diff: https://github.com/dashpole/kubernetes/compare/tracing-admission-webhook-base...tracing-admission-webhook-prototype
- Tree: https://github.com/dashpole/kubernetes/tree/tracing-admission-webhook-prototype
/sig instrumentation api-machinery apps