You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With ListRoutes, the existing routes are always listed again, but the gateway IPs cannot be assigned to any servers because the servers are deleted.
In case of a cache miss we reload the complete server list.
Since several faulty routes exist without servers, we reload the server list several times per ListRoutes
Effect
Depending on the amount of "dead routes", this can quickly exhaust the API rate limit by sending multiple GET /servers requests per second.
Solutions
Detect misconfiguration: In CreateRoute we can validate that the Route CIDR is contained within the configured Cluster CIDR
Slower cache refresh: Refreshing the cache multiple times per iteration is not necessary, it should be enough to refresh the cache once per ListRoutes call
The text was updated successfully, but these errors were encountered:
Scenario
ListRoutes
, the existing routes are always listed again, but the gateway IPs cannot be assigned to any servers because the servers are deleted.Effect
Depending on the amount of "dead routes", this can quickly exhaust the API rate limit by sending multiple
GET /servers
requests per second.Solutions
ListRoutes
callThe text was updated successfully, but these errors were encountered: