-
Notifications
You must be signed in to change notification settings - Fork 82
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
Kourier does not gracefully shut down #1118
Comments
here's the shutdown logs: |
We probably need to consider something like in envoyproxy/envoy#19369. |
Hello @skonto 👋 is there work in progress on this specific issue? We've also noticed that problem. If not, what could be the next steps? I can help if required. Thanks! |
Hello 👋 just so you know, I took a look at the issue and found some interesting stuff. Once the prerequisite #1200 is merged (to fix an existing bug), I'll create a PR to add the "drain" or "finish in-flight requests" logic before shutting down. If you're interested, I made a first hacky version here: main...norbjd:net-kourier:gateway-prestop-hook-wait-until-all-incoming-requests-are-finished (similar to what this comment says). I've tested on my side, and this works. It seems that today, even the "drain" admin endpoint won't work as expected. But I'm not sure so before creating the definitive PR, I have to do some testing 🧑🔧 |
when scaling down or updating the
3scale-kourier-gateway
deployment, we see a spike in failed requests, it seems like envoy does not wait for in-flight requests to finish before exitingThe text was updated successfully, but these errors were encountered: