Envoy does duplicate DNS resolutions when there are strict DNS clusters, with the same endpoints #32524
Labels
area/cluster
enhancement
Feature requests. Not bugs or questions.
stale
stalebot believes this issue/PR has not been touched recently
Title: Envoy does duplicate DNS resolutions when there are two strict DNS clusters, and both have the same endpoints
Description:
Envoy bombards the DNS server, with duplicate DNS resolution calls when multiple STRICT DNS clusters have the same endpoint.
In our setup, we have around 5-7k STRICT DNS clusters, but there are only 340 unique cluster endpoints. At startup, envoy tries to do DNS resolutions for all 5-7k STRICT DNS clusters, and fails for different reasons.
This has resulted in envoy throwing UH errors for a short window just after it marks itself READY.
If Envoy's DNS resolution mechanism can be optimized such that it doesn't start duplicate DNS resolutions, then it would benefit in several ways, for instance:
My proposal is to do the following:
Relevant Links
The text was updated successfully, but these errors were encountered: