linkerd2/controller/api/destination/watcher
Alex Leong 8fbaa3ef9b
Don't send NoEndpoints during pod updates for ip watches (#4338)
When the proxy has an IP watch on a pod and the destination controller gets a pod update event, the destination controller sends a NoEndpoints message to all listeners followed by an Add with the new pod state.  This can result in the proxy's load balancer being briefly empty and could result in failing requests in the period.  

Since consecutive Add events with the same address will override each other, we can simply send the Adds without needing to clear the previous state with a NoEndpoints message.
2020-05-07 16:10:17 -07:00
..
endpoints_watcher.go Detect changes in addresses when getting updates in endpoints watcher (#4104) 2020-04-10 11:42:39 +03:00
endpoints_watcher_test.go Detect changes in addresses when getting updates in endpoints watcher (#4104) 2020-04-10 11:42:39 +03:00
ip_watcher.go Don't send NoEndpoints during pod updates for ip watches (#4338) 2020-05-07 16:10:17 -07:00
ip_watcher_test.go Don't send NoEndpoints during pod updates for ip watches (#4338) 2020-05-07 16:10:17 -07:00
k8s.go Return invalid argument for external name services (#3120) 2019-07-29 16:31:22 -07:00
profile_watcher.go Ensure we get the correct type out of Informer Deletion events (#4034) 2020-02-15 10:15:24 +02:00
profile_watcher_test.go Service Mirroring Component (#4028) 2020-03-02 21:16:08 +02:00
prometheus.go Add support for stateful sets (#3113) 2019-07-24 14:09:46 -07:00
test_util.go Ensure we get the correct type out of Informer Deletion events (#4034) 2020-02-15 10:15:24 +02:00
traffic_split_watcher.go Upgrade to client-go 0.17.4 and smi-sdk-go 0.3.0 (#4221) 2020-04-01 10:07:23 -07:00
traffic_split_watcher_test.go Upgrade to client-go 0.17.4 and smi-sdk-go 0.3.0 (#4221) 2020-04-01 10:07:23 -07:00