(no title)
LimaBearz | 4 years ago
We have a preStop hook of 62s. 60s timeouts are set in our apps, 61s is set on the ALBs (ensuring the ALB is never the cause of the hangup), and 62s on the preStop to make sure nothing has come into the container in the last 62s.
Then we set a terminationGracePeriodSeconds of 60 just to make sure it doesn't pop off too fast. This gives us 120s where nothing happens and anything in flight can get to where its going.
chippiewill|4 years ago
I think the grace period includes the prestop duration doesn't it?
bogomipz|4 years ago
thecosmicfrog|4 years ago