consul/agent/xds/testdata/endpoints
Derek Menteer 212485578c
Backport of: Fix ClusterLoadAssignment timeouts dropping endpoints. into 1.17 (#19884)
Fix ClusterLoadAssignment timeouts dropping endpoints.

When a large number of upstreams are configured on a single envoy
proxy, there was a chance that it would timeout when waiting for
ClusterLoadAssignments. While this doesn't always immediately cause
issues, consul-dataplane instances appear to consistently drop
endpoints from their configurations after an xDS connection is
re-established (the server dies, random disconnect, etc).

This commit adds an `xds_fetch_timeout_ms` config to service registrations
so that users can set the value higher for large instances that have
many upstreams. The timeout can be disabled by setting a value of `0`.

This configuration was introduced to reduce the risk of causing a
breaking change for users if there is ever a scenario where endpoints
would never be received. Rather than just always blocking indefinitely
or for a significantly longer period of time, this config will affect
only the service instance associated with it.
2023-12-11 10:02:33 -06:00
..
api-gateway-with-http-route-timeoutfilter-one-set.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
api-gateway-with-http-route.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
api-gateway-with-multiple-inline-certificates.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
api-gateway-with-tcp-route-and-inline-certificate.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
connect-proxy-exported-to-peers.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
connect-proxy-with-chain-and-failover-to-cluster-peer.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
connect-proxy-with-chain-and-failover.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
connect-proxy-with-chain-and-overrides.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
connect-proxy-with-chain-and-redirect-to-cluster-peer.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
connect-proxy-with-chain-external-sni.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
connect-proxy-with-chain.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
connect-proxy-with-default-chain-and-custom-cluster.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
connect-proxy-with-peered-upstreams-escape-overrides.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
connect-proxy-with-peered-upstreams-http2.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
connect-proxy-with-peered-upstreams.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
connect-proxy-with-tcp-chain-double-failover-through-local-gateway-triggered.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
connect-proxy-with-tcp-chain-double-failover-through-local-gateway.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
connect-proxy-with-tcp-chain-double-failover-through-remote-gateway-triggered.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
connect-proxy-with-tcp-chain-double-failover-through-remote-gateway.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
connect-proxy-with-tcp-chain-failover-through-local-gateway-triggered.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
connect-proxy-with-tcp-chain-failover-through-local-gateway.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
connect-proxy-with-tcp-chain-failover-through-remote-gateway-triggered.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
connect-proxy-with-tcp-chain-failover-through-remote-gateway.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
defaults.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
ingress-gateway-nil-config-entry.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
ingress-gateway-no-services.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
ingress-gateway.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
ingress-multiple-listeners-duplicate-service.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
ingress-splitter-with-resolver-redirect.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
ingress-with-chain-and-failover-to-cluster-peer.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
ingress-with-chain-and-failover.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
ingress-with-chain-external-sni.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
ingress-with-chain.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
ingress-with-tcp-chain-double-failover-through-local-gateway-triggered.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
ingress-with-tcp-chain-double-failover-through-local-gateway.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
ingress-with-tcp-chain-double-failover-through-remote-gateway-triggered.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
ingress-with-tcp-chain-double-failover-through-remote-gateway.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
ingress-with-tcp-chain-failover-through-local-gateway-triggered.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
ingress-with-tcp-chain-failover-through-local-gateway.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
ingress-with-tcp-chain-failover-through-remote-gateway-triggered.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
ingress-with-tcp-chain-failover-through-remote-gateway.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
local-mesh-gateway-with-peered-upstreams.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
mesh-gateway-default-service-subset.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
mesh-gateway-newer-information-in-federation-states.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
mesh-gateway-no-services.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
mesh-gateway-older-information-in-federation-states.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
mesh-gateway-peering-control-plane.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
mesh-gateway-service-subsets.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
mesh-gateway-using-federation-control-plane.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
mesh-gateway-using-federation-states.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
mesh-gateway-with-exported-peered-services-http-with-router.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
mesh-gateway-with-exported-peered-services-http.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
mesh-gateway-with-exported-peered-services.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
mesh-gateway-with-imported-peered-services.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
mesh-gateway-with-peer-through-mesh-gateway-enabled.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
mesh-gateway.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
splitter-with-resolver-redirect.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
telemetry-collector.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
terminating-gateway-default-service-subset.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
terminating-gateway-no-services.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
terminating-gateway-service-subsets.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
terminating-gateway.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
transparent-proxy-destination-http.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
transparent-proxy-destination.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
transparent-proxy-terminating-gateway-destinations-only.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
transparent-proxy-with-peered-upstreams.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
transparent-proxy.latest.golden xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
xds-fetch-timeout-ms-ingress-with-router.latest.golden Backport of: Fix ClusterLoadAssignment timeouts dropping endpoints. into 1.17 (#19884) 2023-12-11 10:02:33 -06:00
xds-fetch-timeout-ms-mgw-peering.latest.golden Backport of: Fix ClusterLoadAssignment timeouts dropping endpoints. into 1.17 (#19884) 2023-12-11 10:02:33 -06:00
xds-fetch-timeout-ms-sidecar.latest.golden Backport of: Fix ClusterLoadAssignment timeouts dropping endpoints. into 1.17 (#19884) 2023-12-11 10:02:33 -06:00
xds-fetch-timeout-ms-term-gw.latest.golden Backport of: Fix ClusterLoadAssignment timeouts dropping endpoints. into 1.17 (#19884) 2023-12-11 10:02:33 -06:00
xds-fetch-timeout-ms-tproxy-http-peering.latest.golden Backport of: Fix ClusterLoadAssignment timeouts dropping endpoints. into 1.17 (#19884) 2023-12-11 10:02:33 -06:00
xds-fetch-timeout-ms-tproxy-passthrough.latest.golden Backport of: Fix ClusterLoadAssignment timeouts dropping endpoints. into 1.17 (#19884) 2023-12-11 10:02:33 -06:00