tcp_proxy: add support for subset load balancing (#8870 )
Add support for subset load balancing into tcp_proxy Risk Level: Medium Testing: unit tests, integration tests, manual testing Docs Changes: docs/root/configuration/listeners/network_filters/tcp_proxy_filter.rst Release Notes: docs/root/intro/version_history.rst Fixes #8769 This PR adds support for metadata_match field per weighted cluster, e.g. name: envoy.tcp_proxy typedConfig: '@type': type.googleapis.com/envoy.config.filter.network.tcp_proxy.v2.TcpProxy statPrefix: postgres.internal:5432 weighted_clusters: clusters: - name: postgres.internal:5432 metadata_match: # implemented by this PR filter_metadata: envoy.lb: role: master weight: 10 - name: postgres.internal:5432 metadata_match: # implemented by this PR filter_metadata: envoy.lb: role: replica weight: 90 Signed-off-by: Yaroslav Skopets <y.skopets@gmail.com> Mirrored from https://github.com/envoyproxy/envoy @ 5536ce73026fcbf1c176c09d409a981d67981047master-ci-test
parent
df9f93694d
commit
32dfaebd2d
2 changed files with 16 additions and 0 deletions
Loading…
Reference in new issue