~/talk

Building a Kubernetes Operator for Automated Distributed Tracing

Talkat KubeDay Israel 2023 · on Monday, 2023-06-19· [kubernetes, observability]
links:none on file
slides:none on file

Operator goes from zero to full tracing in a namespace by installing a Helm chart and creating one secret and one custom resource; it injects an init container that copies OpenTelemetry tracers into an emptyDir, sets three env vars (token, endpoint, LD_PRELOAD) and uses an LD_PRELOAD injector that hijacks libc getenv to append require/import flags for Node/Python/Java. An admission-controller mutating webhook performs injections for new pods (continue-on-fail + 5s timeout) and an API watch uninstalls tracers on delete, and the flow is demonstrated working end-to-end.

AI-written summary · about

  1. 0:00Intro
  2. 2:57Enter distributed tracing
  3. 8:36Enable Automated Tracing within a Namespace
  4. 10:31Getting the tracers into the container
  5. 13:58Activating packages through env vars (Node.js example)
  6. 15:31Static vs dynamic binaries
  7. 19:10Admission controller mutating webhook
  8. 20:27Custom object deletion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.