Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

Some portion of failed requests (502) during application deployment (regression since deis 1.x) #1254

Open
rvadim opened this issue Mar 7, 2017 · 1 comment

Comments

@rvadim
Copy link
Contributor

rvadim commented Mar 7, 2017

Hello,
thank you for you work.
We have a problem with zero downtime deployment in deis 2, due to http://stackoverflow.com/questions/40545581/do-kubernetes-pods-still-receive-requests-after-receiving-sigterm
I tested it with gatling on different applications(pull, config:set etc) and get 5 - 100 errors (502) under 100 RPS
We workaround this issue in native k8s interface with preStop hook /bin/sh -c "sleep 5", but i don't know how to fix this in deis controller, due to for example images with golang binary from scratch don't have any shell.
Have anyone an idea how to fix this?

Additional info:

Thank you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants