Wasm serviceΒΆ

The WasmService configuration specifies a singleton or per-worker Wasm service for background or on-demand activities.

Example plugin configuration:

wasm:
  config:
    config:
      name: "my_plugin"
      vm_config:
        runtime: "envoy.wasm.runtime.v8"
        code:
          local:
            filename: "/etc/envoy_filter_http_wasm_example.wasm"
    singleton: true

The preceding snippet configures a plugin singleton service from a Wasm binary on local disk.