この記事はCyberAgent Developers Advent Calendar 2020(非公式)の記事になります。 はじめに 2020年5月に発表されたIstio1.5へのメジャーアップデート Istio 1.5 Releaseでは、WebAssembly(以後WASM)を使用してIstioの拡張性モデルをEnvoyと統合して新たな拡張性モデルとすることが発表されています。 このアップデートにより、version 1.5以降のIstioにはWASMをサポートしたEnvoyが同梱され、ユーザーはAlpha機能(デフォルト無効)としてこの拡張性モデルを利用することができるようになりました。 そこで今回はEnvoyのWASMによる拡張に着目して、EnvoyでWASMがサポートされるに至った背景を軽く説明したのち、実際にWASM Filterを開発した際の軌跡について書こうと思います。 E