Developing & Debugging WebAssembly Filters for Envoy
summary
Step‑by‑step workflow that actually builds, packages and runs Envoy Wasm filters: use meshctl wasm init to scaffold a Rust filter, meshctl build to produce a .wasm and package it as an OCI image, push to WebAssembly Hub, then deploy a FilterDeployment CRD so Envoy pulls and loads it. Demo injects a response header hello: world1 and computes an average rating 4.5. Debugging options include stdout debug logs, high‑scale access‑logs and Prometheus‑exposed metrics, and an experimental LLDB attach for source‑level stepping.
AI-written summary · about
chapters (19)
- 0:00Introduction
- 2:00Overview of Soloio
- 2:45Envoy Filters
- 3:25What is WebAssembly
- 4:55User Experience
- 5:23Docker vs WebAssembly
- 5:55WebAssembly in Envoy
- 6:06Building a Filter
- 7:12WebAssembly Hub
- 7:47Wasan Artifact Image Specification
- 8:07Envoy Configuration Discovery Service
- 9:18Source Level Debugging
- 9:50Demo
- 11:03Code
- 19:24Demo Environment
- 20:53Demo Terminal
- 27:20Demo Customer Resource
- 30:30Demo Debug Filter
- 31:37Summary
related talks
26mTaking Envoy Beyond C++ with WebAssembly
34mEnvoy, Filters and WebAssembly for Everyone!
37mExtending Envoy with WebAssembly
30mTaking Service Mesh a Step Further with WebAssembly
32mExtending Envoy Using WebAssembly (Wasm)
05mExtending Envoy With WebAssembly
52mEnable all your infrastructure’s power with Rust & Wasm
31mHands-on WASM filters and singletons
