linkerd2/controller/api/destination
Filip Petkovski 40192e258a
Ignore pods with status.phase=Succeeded when watching IP addresses (#5412)
Ignore pods with status.phase=Succeeded when watching IP addresses

When a pod terminates successfully, some CNIs will assign its IP address
to newly created pods. This can lead to duplicate pod IPs in the same
Kubernetes cluster.

Filter out pods which are in a Succeeded phase since they are not 
routable anymore.

Fixes #5394

Signed-off-by: fpetkovski <filip.petkovsky@gmail.com>
2021-01-12 12:25:37 -05:00
..
watcher Ignore pods with status.phase=Succeeded when watching IP addresses (#5412) 2021-01-12 12:25:37 -05:00
client.go Trace Control plane Components with OC (#3495) 2019-10-18 12:19:13 -07:00
endpoint_translator.go Destination should return `OpaqueTransport` hint when annotation matches resolved target port (#5458) 2021-01-05 14:54:55 -05:00
endpoint_translator_test.go Bump k8s client-go to v0.19.2 (#5002) 2020-09-28 12:45:18 -05:00
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 Destination should return `OpaqueTransport` hint when annotation matches resolved target port (#5458) 2021-01-05 14:54:55 -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 Destination should return `OpaqueTransport` hint when annotation matches resolved target port (#5458) 2021-01-05 14:54:55 -05:00
server_test.go Ignore pods with status.phase=Succeeded when watching IP addresses (#5412) 2021-01-12 12:25:37 -05:00
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