consul/agent/xds/testdata/clusters
freddygv 659ebc05a9 Ensure passthrough addresses get cleaned up
Transparent proxies can set up filter chains that allow direct
connections to upstream service instances. Services that can be dialed
directly are stored in the PassthroughUpstreams map of the proxycfg
snapshot.

Previously these addresses were not being cleaned up based on new
service health data. The list of addresses associated with an upstream
service would only ever grow.

As services scale up and down, eventually they will have instances
assigned to an IP that was previously assigned to a different service.
When IP addresses are duplicated across filter chain match rules the
listener config will be rejected by Envoy.

This commit updates the proxycfg snapshot management so that passthrough
addresses can get cleaned up when no longer associated with a given
upstream.

There is still the possibility of a race condition here where due to
timing an address is shared between multiple passthrough upstreams.
That concern is mitigated by #12195, but will be further addressed
in a follow-up.
2022-02-10 17:01:57 -07:00
..
connect-proxy-lb-in-resolver.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
connect-proxy-with-chain-and-failover.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
connect-proxy-with-chain-and-overrides.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
connect-proxy-with-chain-external-sni.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
connect-proxy-with-chain.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
connect-proxy-with-tcp-chain-double-failover-through-local-gateway-triggered.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
connect-proxy-with-tcp-chain-double-failover-through-local-gateway.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
connect-proxy-with-tcp-chain-double-failover-through-remote-gateway-triggered.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
connect-proxy-with-tcp-chain-double-failover-through-remote-gateway.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
connect-proxy-with-tcp-chain-failover-through-local-gateway-triggered.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
connect-proxy-with-tcp-chain-failover-through-local-gateway.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
connect-proxy-with-tcp-chain-failover-through-remote-gateway-triggered.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
connect-proxy-with-tcp-chain-failover-through-remote-gateway.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
custom-limits-max-connections-only.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
custom-limits-set-to-zero.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
custom-limits.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
custom-local-app.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
custom-timeouts.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
custom-upstream-default-chain.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
custom-upstream.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
defaults.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
downstream-service-with-unix-sockets.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
expose-paths-grpc-new-cluster-http1.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
expose-paths-local-app-paths.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
expose-paths-new-cluster-http2.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
ingress-gateway-no-services.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
ingress-gateway.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
ingress-lb-in-resolver.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
ingress-multiple-listeners-duplicate-service.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
ingress-splitter-with-resolver-redirect.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
ingress-with-chain-and-failover.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
ingress-with-chain-and-overrides.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
ingress-with-chain-external-sni.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
ingress-with-chain.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
ingress-with-tcp-chain-double-failover-through-local-gateway-triggered.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
ingress-with-tcp-chain-double-failover-through-local-gateway.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
ingress-with-tcp-chain-double-failover-through-remote-gateway-triggered.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
ingress-with-tcp-chain-double-failover-through-remote-gateway.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
ingress-with-tcp-chain-failover-through-local-gateway-triggered.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
ingress-with-tcp-chain-failover-through-local-gateway.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
ingress-with-tcp-chain-failover-through-remote-gateway-triggered.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
ingress-with-tcp-chain-failover-through-remote-gateway.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
mesh-gateway-hash-lb-ignored.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
mesh-gateway-ignore-extra-resolvers.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
mesh-gateway-no-services.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
mesh-gateway-non-hash-lb-injected.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
mesh-gateway-service-subsets.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
mesh-gateway-service-timeouts.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
mesh-gateway-using-federation-states.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
mesh-gateway.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
splitter-with-resolver-redirect.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
terminating-gateway-hostname-service-subsets.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
terminating-gateway-ignore-extra-resolvers.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
terminating-gateway-lb-config.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
terminating-gateway-no-services.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
terminating-gateway-service-subsets.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
terminating-gateway.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
transparent-proxy-catalog-destinations-only.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
transparent-proxy-dial-instances-directly.envoy-1-20-x.golden Ensure passthrough addresses get cleaned up 2022-02-10 17:01:57 -07:00
transparent-proxy.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00