controller icon indicating copy to clipboard operation
controller copied to clipboard

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

Open rvadim opened this issue 7 years ago • 1 comments

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:

  • https://kubernetes.io/docs/user-guide/pods/#termination-of-pods

Thank you.

rvadim avatar Mar 07 '17 07:03 rvadim

This issue was moved to teamhephy/controller#28

Cryptophobia avatar Mar 20 '18 17:03 Cryptophobia