change the exposed behavior of the service resolver Subsets.OnlyPassing flag #6171
Labels
theme/connect
Anything related to Consul Connect, Service Mesh, Side Car Proxies
Milestone
In the 1.6.x beta we exposed a field named
OnlyPassing
when defining a service resolver subset:This was carried over verbatim from the equivalent field on Prepared Queries.
The problem is that when rendering endpoints in an envoy cluster, we want to include all endpoints regardless of health and just label them with the appropriate health status. This lets envoy calculate percentages of healthy vs overall cluster sizes and trigger failover behavior.
We already do include all of the endpoints with the following logic:
passing
status in Consul becomeHEALTHY
in Envoy.critical
status in Consul becomeUNHEALTHY
in Envoy.warning
status in Consul becomeHEALTHY
unless it's warning weight was set to0
.The ultimate option we actually want is to give the user the ability to modify step 3 to consider
warning
as always beingUNHEALTHY
in envoy, rather than filtering out the results.The text was updated successfully, but these errors were encountered: