As outlined in https://github.com/openfaas/faas/pull/873 and
in released 0.9.4 of the classic watchdog. This commit
dual-maintains the required changes to allow Kubernetes to remove
traffic in a graceful way meaning we will not see connection
refused errors and in-flight HTTP requests still get a chance to
finish.
Also adds validation for upstream_url when in http mode.
Description
Changes:
As outlined in https://github.com/openfaas/faas/pull/873 and in released 0.9.4 of the classic watchdog. This commit dual-maintains the required changes to allow Kubernetes to remove traffic in a graceful way meaning we will not see connection refused errors and in-flight HTTP requests still get a chance to finish.
Also adds validation for
upstream_url
when inhttp
mode.Closes #15
Signed-off-by: Alex Ellis (VMware) alexellis2@gmail.com