Open lahabana opened 2 years ago
Draft PR: https://github.com/kumahq/kuma/pull/2721
triage: Will get back to this when we need to provide different filters for the same HTTPConnectionManager.
This issue was inactive for 30 days it will be reviewed in the next triage meeting and might be closed. If you think this issue is still relevant please comment on it promptly or attend the next triage meeting.
This issue was inactive for 30 days it will be reviewed in the next triage meeting and might be closed. If you think this issue is still relevant please comment on it promptly or attend the next triage meeting.
This issue was inactive for 90 days. It will be reviewed in the next triage meeting and might be closed. If you think this issue is still relevant, please comment on it or attend the next triage meeting.
This issue was inactive for 90 days. It will be reviewed in the next triage meeting and might be closed. If you think this issue is still relevant, please comment on it or attend the next triage meeting.
@lukidzi is this the one we reviewed recently that would make things great but the API is still alpha?
This issue was inactive for 90 days. It will be reviewed in the next triage meeting and might be closed. If you think this issue is still relevant, please comment on it or attend the next triage meeting.
This issue was inactive for 90 days. It will be reviewed in the next triage meeting and might be closed. If you think this issue is still relevant, please comment on it or attend the next triage meeting.
This issue was inactive for 90 days. It will be reviewed in the next triage meeting and might be closed. If you think this issue is still relevant, please comment on it or attend the next triage meeting.
Seems like the matching API is GA now now? Should we consider switching to it?
This issue was inactive for 90 days. It will be reviewed in the next triage meeting and might be closed. If you think this issue is still relevant, please comment on it or attend the next triage meeting.
This issue was inactive for 90 days. It will be reviewed in the next triage meeting and might be closed. If you think this issue is still relevant, please comment on it or attend the next triage meeting.
Description
For Gateway use cases, it's generally expected that virtual hosts (however we define that) can be configured independently. That is, if I configure fault injection for "foo.example.com", I don't want to also get fault injection on "bar.example.com", even though these hostnames are being served by the same proxy.
In Envoy configuration this is tricky.
Envoy has 2 layers of filters:
This means that for each HTTP connection manager there is only one filter chain. This is a problem because we really want there to be a filter chain per virtual host so that we can present a configuration model where features can be enabled at virtual host scope.
Without writing custom extensions, there are 2 ways that I know of to achieve this in Envoy.
The filter chain matching approach has the advantage that we can make it work the same for HTTP and HTTPS.
The filter chain matching approach has the disadvantage of needing to make linear filter matches (the length filter chain is a multiple of the number of virtual hosts). It also needs us to upgrade the go-control-plane version, since we can't actually express the kind of match we need with the protobufs at the current version.