cybozu-go/coil

Egress traffics is disconnected for about 30 seconds when deleting an Egress Pod

masa213f opened this issue · 1 comments

Describe the bug
Egress traffics is disconnected for about 30 seconds when deleting an Egress Pod.

Environments

  • Version: coil v2.0.14

To Reproduce

  1. Create an Egress resource. (.spec.replicas is 2 or more.)
  2. Create a client pod which uses the Egress NAT.
  3. ping to the external network via the Egress NAT from the client pod.
  4. Delete the Egress Pods one by one.

When deleting an Egress Pod, sometimes ping will fail (packets lost) for about 30 seconds.

Expected behavior
There are some replicas. So I want to switch the Egress Pod immediately.

#215 fixed this issue. The traffic to a removed NAT pod is redirected to another pod as soon as users request to delete an Egress NAT pod.