Open brunopaiuca opened 3 years ago
Implement Pod lifecycle to remove redirect iptables rules to avoid traffic be redirected to one port service that is not working anymore.
It is implemented using Pod Lifecycle preStop to remove the rule when the kube2iam DaemonSet is deleted or the pod die somehow.
Coverage remained the same at 19.481% when pulling f21e1c8f4e0b7813eff9e8ca23ad8d9a90c2f18d on brunopaiuca:implement-graceful-iptables-rule-removal into a1b6aa31bfe9c8d18fa2c90ba251db0085ad64ab on jtblin:master.
cc @mariusv @walkafwalka can you help reviewing helm charts changes pls?
Implement Pod lifecycle to remove redirect iptables rules to avoid traffic be redirected to one port service that is not working anymore.
It is implemented using Pod Lifecycle preStop to remove the rule when the kube2iam DaemonSet is deleted or the pod die somehow.