envoyproxy/envoy

TCP liveness checks through Envoy

Open

#7,783 opened on Jul 31, 2019

View on GitHub
 (10 comments) (0 reactions) (0 assignees)C++ (5,373 forks)batch import
area/tcp_proxyhelp wanted

Repository metrics

Stars
 (27,997 stars)
PR merge metrics
 (Avg merge 8d) (378 merged PRs in 30d)

Description

Is there a way for a service fronted by Envoy to be checked for liveness with a TCP connection? (Assuming the service cannot be reached directly without going through the proxy)

It seems that Envoy will accept any TCP connection, so the liveness check will always pass.

Envoy can set up active TCP checks for connection only as shown here. I would like that behavior but with an application on a different pod/node running the check.

Contributor guide