consul/agent/xds
Matt Keeler 4c9577678e
xDS Mesh Gateway Resolver Subset Fixes (#7294)
* xDS Mesh Gateway Resolver Subset Fixes

The first fix was that clusters were being generated for every service resolver subset regardless of there being any service instances of the associated service in that dc. The previous logic didn’t care at all but now it will omit generating those clusters unless we also have service instances that should be proxied.

The second fix was to respect the DefaultSubset of a service resolver so that mesh-gateways would configure the endpoints of the unnamed subset cluster to only those endpoints matched by the default subsets filters.

* Refactor the gateway endpoint generation to be a little easier to read
2020-02-19 11:57:55 -05:00
..
testdata xDS Mesh Gateway Resolver Subset Fixes (#7294) 2020-02-19 11:57:55 -05:00
clusters.go xDS Mesh Gateway Resolver Subset Fixes (#7294) 2020-02-19 11:57:55 -05:00
clusters_test.go xDS Mesh Gateway Resolver Subset Fixes (#7294) 2020-02-19 11:57:55 -05:00
config.go Allow configuration of upstream connection limits in Envoy (#6829) 2019-12-03 14:13:33 -06:00
config_test.go Allow configuration of upstream connection limits in Envoy (#6829) 2019-12-03 14:13:33 -06:00
endpoints.go xDS Mesh Gateway Resolver Subset Fixes (#7294) 2020-02-19 11:57:55 -05:00
endpoints_test.go xDS Mesh Gateway Resolver Subset Fixes (#7294) 2020-02-19 11:57:55 -05:00
failover_math.go connect: fix failover through a mesh gateway to a remote datacenter (#6259) 2019-08-05 13:30:35 -05:00
failover_math_test.go connect: fix failover through a mesh gateway to a remote datacenter (#6259) 2019-08-05 13:30:35 -05:00
golden_test.go Connect: allow configuring Envoy for L7 Observability (#5558) 2019-04-29 17:27:57 +01:00
listeners.go Allow users to configure either unstructured or JSON logging (#7130) 2020-01-28 17:50:41 -06:00
listeners_test.go Allow users to configure either unstructured or JSON logging (#7130) 2020-01-28 17:50:41 -06:00
naming.go connect: generate the full SNI names for discovery targets in the compiler rather than in the xds package (#6340) 2019-08-19 13:03:03 -05:00
response.go activate most discovery chain features in xDS for envoy (#6024) 2019-07-01 22:10:51 -05:00
routes.go Fixes envoy config when both RetryOn* values are set (#7280) 2020-02-18 09:25:47 -06:00
routes_test.go connect: introduce ExternalSNI field on service-defaults (#6324) 2019-08-19 12:19:44 -05:00
server.go Fix a couple bugs regarding intentions with namespaces (#7169) 2020-01-29 17:30:38 -05:00
server_oss.go Updates to Config Entries and Connect for Namespaces (#7116) 2020-01-24 10:04:58 -05:00
server_test.go Testing updates to support namespaced testing of the agent/xds… (#7185) 2020-02-03 09:26:47 -05:00
testing.go Upgrade xDS (go-control-plane) API to support Envoy 1.10. (#5872) 2019-06-07 07:10:43 -05:00
xds.go Update links to envoy docs on xDS protocol (#5871) 2019-06-03 11:03:05 -05:00