~/talk

A Tale of Two Plugins Safely Extending the Kubernetes Scheduler with WebAssembly

Talkat KubeDay Australia 2024 · on Tuesday, 2024-10-15· at 11:25· Center Stage 1 (Level 1)· [webassembly]
slides:none on file

Kubernetes scheduler gets a WebAssembly-based extension that loads user modules from files or URLs via a Wasmer-like runtime, exposes the scheduling framework ABI, and aims for Go-plugin feature parity without rebuilding the scheduler. Benchmarks show small runtime overhead compared with native Go but much higher latency when garbage collection runs; using tinygo reduces GC spikes but module recreation is costly. The SDK adds lazy loading and caching of pod/node objects to cut transfer costs; usable for many clusters but not a full replacement for Go plugins at very large scale.

AI-written summary · about

  1. 0:00Introduction
  2. 1:06Kubernetes scheduler basics
  3. 5:02Scheduler extensibility
  4. 6:25Webhook extensibility
  5. 8:58Scheduling framework extensibility
  6. 11:30WebAssembly for scheduler
  7. 15:52Why WebAssembly
  8. 16:13WebAssembly extension implementation
  9. 18:23WebAssembly SDK
  10. 21:16Object transfer in WebAssembly
  11. 22:19Lazy loading and caching
  12. 24:31Garbage collection overhead
  13. 27:24Benchmarking extensions
  14. 28:34Summary
  15. 29:38Future of WebAssembly
~/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.