mirror of https://github.com/linkerd/linkerd2.git
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> |
||
|---|---|---|
| .. | ||
| endpoints_watcher.go | ||
| endpoints_watcher_test.go | ||
| ip_watcher.go | ||
| ip_watcher_test.go | ||
| k8s.go | ||
| opaque_ports_watcher.go | ||
| opaque_ports_watcher_test.go | ||
| profile_watcher.go | ||
| profile_watcher_test.go | ||
| prometheus.go | ||
| test_util.go | ||
| traffic_split_watcher.go | ||
| traffic_split_watcher_test.go | ||