Comments (2)
So what you're looking for is to update the EnvoyGatewayExtension interface and add an additional method?
Something like:
service EnvoyGatewayExtension {
rpc PostRouteModify (PostRouteModifyRequest) returns (PostRouteModifyResponse) {};
rpc PostVirtualHostModify(PostVirtualHostModifyRequest) returns (PostVirtualHostModifyResponse) {};
rpc PostHTTPListenerModify(PostHTTPListenerModifyRequest) returns (PostHTTPListenerModifyResponse) {};
rpc PostTranslateModify(PostTranslateModifyRequest) returns (PostTranslateModifyResponse) {};
// PostFilterChainModify provides a way for extensions to modify a filter chains generated by Envoy Gateway
// before it is finalized.
rpc PostFilterChainModify(PostFilterChainModifyRequest) returns (PostFilterChainModifyResponse) {};
}
The semantics could be that before PostHTTPListenerModify
is called, then PostFilterChainModify
is called for each of the available filter chains including the default filter chain.
from gateway.
So what you're looking for is to update the EnvoyGatewayExtension interface and add an additional method?
Yes, additional method is used to control filter chain translated from Gateway listener, because xDS listener may have multiple filter chains.
The semantics could be that before PostHTTPListenerModify is called, then PostFilterChainModify is called for each of the available filter chains including the default filter chain.
It'll be better if PostHTTPListenerModify
is called just after xDS listener is created. And when each filter chain is created from Gateway listener, PostFilterChainModify
is called, then insert into xDS listener.
Because if N
Gateway listeners will be translated into single xDS listener, there will be N
filter chains in the final xDS listener, inserted one by one. Until translation is done, PostHTTPListenerModify
will be called N
times, the i
(1 <= i <= N ) round call carry i
filter chains. It has additional data transfer overhead if N
is bigger.
from gateway.
Related Issues (20)
- Update Gateway API to v1.1.0-rc1 HOT 1
- Support knob to configure consistent hash table size HOT 2
- CI is failing
- Add a knob to make per_connection_buffer_limit_bytes of cluster configurable HOT 5
- Support access log formatters in EnvoyProxy HOT 2
- [Helm template] Support to define additional annotations for CRDS HOT 2
- shutdown manager image not possible to override from envoyproxy/gateway-dev HOT 2
- flaky: TestMergeGateways/BasicMergeGateways HOT 3
- support oci image as a code source for wasm
- Merge Gateway Prometheus Virtual Host metrics random assigned wrong with multiple listeners HOT 1
- falky: TestEGUpgrade/EGUpgrade HOT 2
- Session Persistence HOT 2
- Support TLS.FrontendValidation within the Gateway spec HOT 1
- Support attaching EnvoyProxy resource to Gateways HOT 1
- Support Route Metadata HOT 3
- Zero downtime with AWS NLB/ALB HOT 2
- Cross-Namespace based configuration of an ext auth service for a Gateway HOT 4
- e2e: add `egctl install/uninstall` test HOT 1
- Restrict Login Email with Google OAuth2.0 to Specific Domain Name
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gateway.