Closed ysksuzuki closed 1 year ago
@ysksuzuki I think this can be done without preStop hook by holding SIGTERM processing for a while in coil-egress.
Selecting a new backend for UDP packets breaks the graceful termination since it's not possible to check whether a received UDP packet is new or existing one in the current implementation. So we will go for another approach.
What
Rolling restart of Egress NAT pods causes a brief outage
How
Cilium selects a new backend if the client hits the same old tuple for syn packets, but it doesn't consider UDP packets. So we need to send a PR for it. https://github.com/cilium/cilium/pull/20407
Checklist