Wasm service
The WasmService configuration specifies a singleton or per-worker Wasm service for background or on-demand activities.
Example plugin configuration:
bootstrap_extensions:
- name: envoy.bootstrap.wasm
typed_config:
"@type": type.googleapis.com/envoy.extensions.wasm.v3.WasmService
singleton: true
config:
name: "my_plugin"
configuration:
"@type": type.googleapis.com/google.protobuf.StringValue
value: |
{
"my_config_value": "my_value"
}
vm_config:
runtime: "envoy.wasm.runtime.v8"
code:
local:
filename: "/etc/envoy_filter_http_wasm_example.wasm"
The preceding snippet configures a plugin singleton service from a Wasm binary on local disk.
当前内容版权归 servicemesher 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 servicemesher .