[istio] WasmPlugin 확장 가능 범위

zzery·2022년 8월 24일

일지(2022~2024)

목록 보기
20/25

Envoy 구조

envoy 구조를 다시 확인한다.

istio에서 지원하는 WasmPlugin의 문서를 다시 확인했다.

WasmPlugins provides a mechanism to extend the functionality provided by the Istio proxy through WebAssembly filters.

wasmPlugin의 정확한 용도

즉 wasmPlugin은 wasm filter를 더 쉽게 적용하기 위한 용도다.
확장 가능한건 filter 파트뿐이다. (맨 위 envoy 구조 참고)

다만 envoyFilter는 filter외 다른 파트도 수정할 수 있다.

envoyFilter 문서

EnvoyFilter provides a mechanism to customize the Envoy configuration generated by Istio Pilot. Use EnvoyFilter to modify values for certain fields, add specific filters, or even add entirely new listeners, clusters, etc.

예시를 보면 listener/cluster에 대한 설정을 추가할 수 있다.

https://pkg.go.dev/github.com/tetratelabs/proxy-wasm-go-sdk/proxywasm

profile
이 블로그의 모든 글은 수제로 짜여져 있습니다...

0개의 댓글