Envoy: Add gRPC health check service support to HC filter

Created on 26 Mar 2018  路  2Comments  路  Source: envoyproxy/envoy

Hi, I'd like to setup the gRPC health check between two envoys, but looks envoy as a server (upstream) does not generate gRPC health check response?

I had client envoy setting this:
health_checks: [{
timeout: 0.5s,
interval: 5s,
unhealthy_threshold: 2,
healthy_threshold: 3,
grpc_health_check: { service_name: "ic" }
}]

and I had the server envoy setting this:
http_filters:
- name: envoy.health_check
config:
pass_through_mode: false
endpoint: /grpc.health.v1.Health/Check

But looks the server envoy recognizes 'this is a health check' because the statistics "http.ingress_http.tracing.health_check" is creasing, but on the client envoy, the cluster.grpc.health_check.failure is creasing too.

The tcpdump of client envoy health check request as below:

image

The tcpdump of server envoy health check response as below:

grpc_health_check_resonse

when I set "pass_through_mode: true", I did see the HC message pass to my application.

the envoy version is:
envoy version: 5a49ba651b283ace69ff809fe48243ba687375d3/1.6.0-dev/Clean/RELEASE

thank you!

enhancement help wanted

Most helpful comment

That's correct that right now Envoy itself does not support the gRPC health check service for responding to health checks. I'm going to go ahead and mark this as a feature request.

All 2 comments

That's correct that right now Envoy itself does not support the gRPC health check service for responding to health checks. I'm going to go ahead and mark this as a feature request.

@mattklein123 Matt, thanks for the clarification and willing to take enhancement.

Was this page helpful?
0 / 5 - 0 ratings