linkerd2/controller/k8s
Alejandro Pedraza d3d8266c63
If tap source IP matches many running pods then only show the IP (#3513)
* If tap source IP matches many running pods then only show the IP

When an unmeshed source ip matched more than one running pod, tap was
showing the names for all those pods, even though the didn't necessary
originate the connection. This could be reproduced when using pod
network add-on such as Calico.

With this change, if a node matches, return it, otherwise we proceed to look for a matching pod. If exactly one running pod matches we return it. Otherwise we return just the IP.

Fixes #3103
2019-10-25 12:38:11 -05:00
..
api.go If tap source IP matches many running pods then only show the IP (#3513) 2019-10-25 12:38:11 -05:00
api_test.go Fix injector timeout under high load (#3442) 2019-09-18 17:58:38 -05:00
clientset.go Add support for TrafficSplits (#2897) 2019-06-11 10:04:42 -07:00
test_helper.go If tap source IP matches many running pods then only show the IP (#3513) 2019-10-25 12:38:11 -05:00