~/talk

Webhook Topology and Admission Latency: Lessons from Migration

Talkat KyvernoCon Virtual 2026 · on Wednesday, 2026-05-06· [kubernetes, web-performance]
slides:none on file

Migrating Gatekeeper policies to Kyverno’s ValidatingPolicy yields a surprising production effect: per-policy webhook entries cause the API server to rebuild cached CEL programs when the validatingwebhookconfiguration’s generation increments, producing P99 from <1s to 5–6s while the policy logic itself runs at ~400µs. Observations use kubectl watch on the validating webhook config, note that the webhook controller runs every 10s and nondeterministic ordering of policies causes spurious updates; deterministically sorting policies before diffing prevents the rewrite and removes the latency spikes.

AI-written summary · about

  1. 0:00Introduction
  2. 1:02Migrating policies Gatekeeper to Kyverno
  3. 2:07Unexpected latency spike
  4. 3:51Investigating and mitigating
  5. 5:13Root cause of latency
  6. 9:03Lessons learned
  7. 10:31Q&A
~/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.