You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Closes: #35
Tested outside of a container, using kill -s TERM <PID> - it
worked as expected by waiting for N seconds.
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
Closes: #35
Tested outside of a container, using kill -s TERM <PID> - it
worked as expected by waiting for N seconds.
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
There appears to be an issue with graceful shutdowns. This occurs when Kubernetes sends a SIGTERM to our function's Pod.
We have two processes:
The of-watchdog catches the signal and waits for
wait_timeout
env-var, but the child process appears to die immediatelyWe need to copy the code / approach of the of-watchdog into the Go handler for all templates and test.
Task
Now fix the code and repeat
You should see that both processes wait at least
wait_timeout
before exiting.The text was updated successfully, but these errors were encountered: