kubernetes/pkg/controller/endpointslice
Quan Tian d567d61aa5 Fix a data race in TopologyCache
The member variable `cpuRatiosByZone` should be accessed with the lock
acquired as it could be be updated by `SetNodes` concurrently.

Signed-off-by: Quan Tian <qtian@vmware.com>
Co-authored-by: Antonio Ojea <aojea@google.com>
2023-04-13 02:03:16 +08:00
..
config generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
metrics pkg/controller: Replace deprecated func usage from the k8s.io/utils/pointer pkg 2022-11-23 17:40:23 +02:00
topologycache Fix a data race in TopologyCache 2023-04-13 02:03:16 +08:00
endpointslice_controller.go Do not create endpoints if service of type ExternalName (#114814) 2023-01-18 03:12:34 -08:00
endpointslice_controller_test.go svc: Support pods with same address 2023-02-23 11:37:57 +01:00
OWNERS Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
reconciler.go Remove unused numExistingEndpoints variable 2022-11-23 00:54:50 +00:00
reconciler_test.go Introducing Topology Mode Annotation, Deprecating Topology Hints 2023-03-14 02:23:11 +00:00
utils.go Introducing Topology Mode Annotation, Deprecating Topology Hints 2023-03-14 02:23:11 +00:00
utils_test.go Introducing Topology Mode Annotation, Deprecating Topology Hints 2023-03-14 02:23:11 +00:00