Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement graceful shutdown as per classic watchdog 0.9.4 #28

Merged
merged 1 commit into from
Sep 17, 2018

Conversation

alexellis
Copy link
Member

@alexellis alexellis commented Sep 17, 2018

Description

Changes:

  • As outlined in Watchdog: Alter graceful shutdown sequence faas#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.

Closes #15

Signed-off-by: Alex Ellis (VMware) [email protected]

- As outlined in openfaas/faas#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.

Signed-off-by: Alex Ellis (VMware) <[email protected]>
Copy link

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@alexellis alexellis merged commit 3a2e7bf into master Sep 17, 2018
@alexellis alexellis deleted the alexellis/graceful-shutdown branch September 17, 2018 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants