kubernetes/pkg/controller/endpoint
Quan Tian 38966453ce Skip updating Endpoints and EndpointSlice if no relevant fields change
When comparing EndpointSubsets and Endpoints, we ignore the difference
in ResourceVersion of Pod to avoid unnecessary updates caused by Pod
updates that we don't care, e.g. annotation update.

Otherwise periodic Service resync would intensively update Endpoints or
EndpointSlice whose Pods have irrelevant change between two resyncs,
leading to delay in processing newly created Services. In a scale
cluster with thousands of such Endpoints, we observed 2 minutes of
delay when the resync happens.
2022-02-18 20:47:27 +08:00
..
config OWNERS cleanup - Jan 2021 Week 1 2022-01-10 08:14:29 -05:00
doc.go Remove explicit nil initialization and correct error string. 2019-01-18 09:29:25 +05:30
endpoints_controller_test.go Skip updating Endpoints and EndpointSlice if no relevant fields change 2022-02-18 20:47:27 +08:00
endpoints_controller.go Skip updating Endpoints and EndpointSlice if no relevant fields change 2022-02-18 20:47:27 +08:00
OWNERS Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00