kubernetes/pkg/controller/endpoint
Quan Tian 3bd975862a Fix endpoints status out-of-sync when the pod state changes rapidly
When Pod state changes rapidly, endpoints controller may use outdated
informer cache to sync Service. If the outdated endpoints appear to be
expected by the controller, it skips updating it.

The commit fixes it by checking if endpoints informer cache is outdated
when processing a service. If the endpoints is stale, it returns an
error and retries later.

Signed-off-by: Quan Tian <quan.tian@broadcom.com>
2024-07-01 21:56:36 +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 Fix endpoints status out-of-sync when the pod state changes rapidly 2024-07-01 21:56:36 +08:00
endpoints_controller.go Fix endpoints status out-of-sync when the pod state changes rapidly 2024-07-01 21:56:36 +08:00
endpoints_tracker_test.go Fix endpoints status out-of-sync when the pod state changes rapidly 2024-07-01 21:56:36 +08:00
endpoints_tracker.go Fix endpoints status out-of-sync when the pod state changes rapidly 2024-07-01 21:56:36 +08:00
OWNERS update sig-network reviewers/approvers on controller manager 2022-09-19 10:34:39 +02:00