You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cni: the plugin binary links the OTel SDK and OTLP exporters (~13–15 of its 37 modules) in a process run on every pod start/stop #1166
From the 2026-10-03 codebase audit. cni/cmd/cni is 17.9 MiB / 37 modules and links no client-go or controller-runtime (its only k8s.io module is cri-api), but ~13–15 of those modules are the OTel SDK + OTLP trace exporters used for CNI tracing (proposal 014's CNI spans). The plugin is exec'd by the container runtime on every ADD/DEL/CHECK, so binary size and init cost are paid per pod event.
Options:
Keep as is (tracing is useful during CNI incidents; the cost is a few ms of init and ~10 MiB on disk).
Drop CNI tracing from the plugin and keep it in the agent's CNI gRPC server, which already spans every registration (the plugin's span would collapse into a single attribute on the agent's span).
Replace the exporter with a UDS hand-off of the span context to the agent (no SDK in the plugin) — most work.
A deps_test guard pinning today's module set is being added separately so nothing heavier creeps in; this issue is the decision on the existing set. Measure before deciding: the plugin's wall time per ADD with and without the exporter init (e2e/ kind run with AETHER_CNI_TRACE=0 if such a knob exists; otherwise a build without the exporter).
Activity
feat(cni)!: drop the OTel SDK from the CNI plugin; forward its timing…
fix(telemetry): the registrar, controller and edge control plane no l…
chore(cni, prober)!: cni-install rejects the two retired OTLP flags; …
refactor(cni, proxy-supervisor): cni-install installs the plugin thro…