envoyproxy / envoyproxy/envoy

TCP liveness checks through Envoy

Open
#7,783 10 comments 0 reactions 0 assignees View on GitHub
area/tcp_proxy help wanted
Dominant language
C++
Stars
28.9k
Forks
5.6k
Avg merge
1d 22h
Merged PRs (30d)
430

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](https://www.envoyproxy.io/docs/envoy/latest/api-v2/api/v2/core/health_check.proto#core-healthcheck-tcphealthcheck). I would like that behavior but with an application on a different pod/node running the check.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.