envoyproxy/envoy

Healthchecking in Lua

Open

#6.901 geöffnet am 10. Mai 2019

Auf GitHub ansehen
 (7 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C++ (5.373 Forks)batch import
enhancementhelp wanted

Repository-Metriken

Stars
 (27.997 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 8T) (378 gemergte PRs in 30 T)

Beschreibung

Hi,

I am trying to deploy various custom and stateful origins behind an Envoy gateway. These origins may have arbitrary logic to their healthchecks such that for a certain type one may want to check if the response is 200 OK and valid JSON with a "foo" key and a "bar" value, and mark the origin healthy if and only if that's the case while some other origin might be okay with just a 200 OK and an empty response body.

As it stands, I think this kind of feature would involve creating a new Healthcheck Filter. Has this been abstracted away by another filter? Any suggestions for such a use case would be appreciated.

Thanks.

Contributor Guide