|
|
|
|
|
by paranoidrobot
460 days ago
|
|
Pod Readiness Gates, unless I'm missing something, only help on startup. Unless something has changed since I last went digging into this. You will still have the ALB sending traffic to a pod that's in terminating state, unless you do the preStop bits I talked about in the top of the thread. https://kubernetes-sigs.github.io/aws-load-balancer-controll... |
|
Also allows graceful rollout of workload.
> You will still have the ALB sending traffic to a pod that's in terminating state
The controller watches endpoints and will remove your pod from target group on pod deletion.
You don't need the preStop scam as long as your workload respects SIGTERM and does lame-duck.