linkerd2/controller/api/destination
Bruce Chen Wenliang b84b2077d3
Ignore pods in "Terminating" when watching IP addresses. (#5940)
Fixes #5939

Some CNIs reasssign the IP of a terminating pod to a new pod, which
leads to duplicate IPs in the cluster.

It eventually triggers #5939.

This commit will make the IPWatcher, when given an IP, filter out the terminating pods
(when a pod is given a deletionTimestamp).

The issue is hard reproduce because we are not able to assign a
particular IP to a pod manually.

Signed-off-by: Bruce <wenliang.chen@personio.de>

Co-authored-by: Bruce <wenliang.chen@personio.de>
2021-03-24 18:21:42 +05:30
..
watcher Ignore pods in "Terminating" when watching IP addresses. (#5940) 2021-03-24 18:21:42 +05:30
client.go Trace Control plane Components with OC (#3495) 2019-10-18 12:19:13 -07:00
endpoint_translator.go destination: pass opaque-ports through cmd flag (#5829) 2021-03-01 16:00:20 +05:30
endpoint_translator_test.go destination: pass opaque-ports through cmd flag (#5829) 2021-03-01 16:00:20 +05:30
fallback_profile_listener.go Update ServiceProfile CRD to version v1alpha2 and remove validation (#3078) 2019-07-23 11:46:31 -07:00
fallback_profile_listener_test.go Update ServiceProfile CRD to version v1alpha2 and remove validation (#3078) 2019-07-23 11:46:31 -07:00
opaque_ports_adaptor.go Return default opaque ports in the destination service (#5814) 2021-02-24 14:55:31 -05:00
profile_translator.go Add opaque ports to destination service updates (#5294) 2020-12-18 12:38:59 -05:00
profile_translator_test.go profiles: Eliminate default timeout (#4958) 2020-09-10 14:00:18 -07:00
server.go Handle pod lookups for pods that map to a host IP and host port (#5904) 2021-03-18 13:29:43 -04:00
server_test.go Ignore pods in "Terminating" when watching IP addresses. (#5940) 2021-03-24 18:21:42 +05:30
traffic_split_adaptor.go Always return destination overrides for services (#4890) 2020-08-19 12:25:58 -07:00
traffic_split_adaptor_test.go Always return destination overrides for services (#4890) 2020-08-19 12:25:58 -07:00