From 7c2ff02cec0827d332da95efc62ff2b71e522caf Mon Sep 17 00:00:00 2001 From: "data-plane-api(CircleCI)" Date: Mon, 25 Feb 2019 20:26:25 +0000 Subject: [PATCH] hc filter: treat degraded hosts as healthy in non-passthrough mode (#5980) Updates the health check filter to treat degraded hosts as healthy for the purpose of computing the "health" of each cluster. This captures the idea that these hosts are still available for routing: if the upstream cluster is fully degraded it's still available, so there shouldn't be a need for Envoy to declare itself unhealthy. Signed-off-by: Snow Pettersen Mirrored from https://github.com/envoyproxy/envoy @ 2e6bd24617f9c9c7085353095e196008370821c6 --- envoy/config/filter/http/health_check/v2/health_check.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/envoy/config/filter/http/health_check/v2/health_check.proto b/envoy/config/filter/http/health_check/v2/health_check.proto index c951f08c..2eeb2692 100644 --- a/envoy/config/filter/http/health_check/v2/health_check.proto +++ b/envoy/config/filter/http/health_check/v2/health_check.proto @@ -32,7 +32,7 @@ message HealthCheck { // If operating in non-pass-through mode, specifies a set of upstream cluster // names and the minimum percentage of servers in each of those clusters that - // must be healthy in order for the filter to return a 200. + // must be healthy or degraded in order for the filter to return a 200. map cluster_min_healthy_percentages = 4; // Specifies a set of health check request headers to match on. The health check filter will