|
|
|
|
|
by glenjamin
457 days ago
|
|
That’s how you’d expect it to work, but that’s not how pod deletion works. The pod delete event is sent out, and the load balancer and the pod itself both receive and react to it at the same time. So unless the LB switchover is very quick, or the pod shutdown is slow - you get dropped requests - usually 502s. Try googling for graceful k8s deploys and every article will say you have to put a preStop sleep in |
|