kubernetes/pkg/controller/util/endpoint
Dan Winship 9fb6e2ef55 Fix Endpoint/EndpointSlice pod change detection
The endpoint controllers responded to Pod changes by trying to figure
out if the generated endpoint resource would change, rather than just
checking if the Pod had changed, but since the set of Pod fields that
need to be checked depend on the Service and Node as well, the code
ended up only checking for a subset of the changes it should have.

In particular, EndpointSliceController ended up only looking at IPv4
Pod IPs when processing Pod update events, so when a Pod went from
having no IP to having only an IPv6 IP, EndpointSliceController would
think it hadn't changed.
2020-07-17 15:22:59 -04:00
..
BUILD Promoting EndpointSlices to beta 2019-11-13 14:20:19 -08:00
controller_utils_test.go Fix Endpoint/EndpointSlice pod change detection 2020-07-17 15:22:59 -04:00
controller_utils.go Fix Endpoint/EndpointSlice pod change detection 2020-07-17 15:22:59 -04:00
OWNERS Adding owners file for Endpoint controller utils 2019-10-29 11:01:49 -07:00
trigger_time_tracker_test.go
trigger_time_tracker.go