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
{{ message }}
This repository was archived by the owner on Dec 15, 2021. It is now read-only.
Is this a BUG REPORT or FEATURE REQUEST?:
FEATURE REQUEST
What happened:
When pods are terminated, active connections are closed.
What you expected to happen:
The function pod should attempt a graceful shutdown on sigterm with some configurable timeout.
How to reproduce it (as minimally and precisely as possible):
Create a function that sleeps for 10 seconds or so and returns success.
Trigger the function.
Intentionally terminate the pod/docker container before the function completes
You'll get a socket hang up error.
Anything else we need to know?:
I might like to attempt a PR for this if you decide it's an feature worth having.
From what I can see it looks like it could be added relatively easily to the function proxy following this example: https://gist.github.com/peterhellberg/38117e546c217960747aacf689af3dc2
Is this a BUG REPORT or FEATURE REQUEST?:
FEATURE REQUEST
What happened:
When pods are terminated, active connections are closed.
What you expected to happen:
The function pod should attempt a graceful shutdown on sigterm with some configurable timeout.
How to reproduce it (as minimally and precisely as possible):
You'll get a socket hang up error.
Anything else we need to know?:
I might like to attempt a PR for this if you decide it's an feature worth having.
From what I can see it looks like it could be added relatively easily to the function proxy following this example: https://gist.github.com/peterhellberg/38117e546c217960747aacf689af3dc2
Environment:
kubectl version
):kubeless version
):Kubeless version: v1.0.4-dirty
The text was updated successfully, but these errors were encountered: