在 istio 代理中运行 wasm 过滤器模块时出错

在 istio 代理中运行 wasm 过滤器模块时出错

我关注了文章设置我的 wasm 模块并使用 istio 代理运行它,如下所示:

wasme deploy envoy wasm_filter_intro:v0.1 --envoy-image=istio/proxyv2:1.17.3

不幸的是,它失败了并抛出这个错误:

[2023-06-11 06:51:59.701][1][info][main] [external/envoy/source/server/server.cc:408]   envoy.quic.server.crypto_stream: envoy.quic.crypto_stream.server.quiche
[2023-06-11 06:51:59.701][1][info][main] [external/envoy/source/server/server.cc:408]   envoy.guarddog_actions: envoy.watchdog.abort_action, envoy.watchdog.profile_action
[2023-06-11 06:51:59.701][1][info][main] [external/envoy/source/server/server.cc:408]   envoy.connection_handler: envoy.connection_handler.default
[2023-06-11 06:51:59.712][1][critical][main] [external/envoy/source/server/server.cc:131] error initializing configuration '': Protobuf message (type envoy.config.bootstrap.v3.Bootstrap reason INVALID_ARGUMENT:(static_resources.clusters[0]) tlsContext: Cannot find field.) has unknown fields
[2023-06-11 06:51:59.712][1][info][main] [external/envoy/source/server/server.cc:972] exiting
Protobuf message (type envoy.config.bootstrap.v3.Bootstrap reason INVALID_ARGUMENT:(static_resources.clusters[0]) tlsContext: Cannot find field.) has unknown fields
Error: exit status 1
Usage:
  wasme deploy envoy <image> [--config=<filter config>] [--bootstrap=<custom envoy bootstrap file>] [--envoy-image=<custom envoy image>] [flags]

wasm_filter_intro是我从 Rust 编译的 wasm 模块。

相关内容