kubernetes/pkg/controller/endpointslicemirroring
Antonio Ojea ef6d9edea5 endpointslicemirroring handle endpoints with multiple subsets
Endpoints generated by the endpoints controller are in the canonical
form, however, custom endpoints can not be in canonical format
(there was a time they were canonicalized in the apiserver, but this
caused performance issues because the endpoint controller kept
updating them since the created endpoint were different than the
stored one due to the canonicalization)

There are cases where a custom endpoint may generate multiple slices
due to the controller, per example, when the same address is present
in different subsets.

The endpointslice mirroring controller should canonicalize the
endpoints subsets before start processing them to be consistent
on the slices generated, there is no risk of hotlooping because
the endpoint is only used as input.

Change-Id: I2a8cd53c658a640aea559a88ce33e857fa98cc5c
2022-12-10 11:44:10 +00:00
..
config generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
metrics Graduate EndpointSlice Controllers to GA 2021-03-06 15:58:47 -08:00
endpointslicemirroring_controller_test.go Clean shutdown of endpoints/endpointslice integration tests 2022-05-30 20:17:35 +02:00
endpointslicemirroring_controller.go remove rate limiter metric as it is not in use 2022-10-13 13:07:11 -07:00
events.go Adding new logging, event, and metric to better capture when mirroring addresses is skipped 2020-07-06 12:43:35 -07:00
OWNERS Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
reconciler_helpers_test.go Graduate EndpointSlice Controllers to GA 2021-03-06 15:58:47 -08:00
reconciler_helpers.go extract same code of es and esm to pkg 2021-05-14 15:15:35 +08:00
reconciler_test.go endpointslicemirroring handle endpoints with multiple subsets 2022-12-10 11:44:10 +00:00
reconciler.go endpointslicemirroring handle endpoints with multiple subsets 2022-12-10 11:44:10 +00:00
utils_test.go pkg/controller: Replace deprecated func usage from the k8s.io/utils/pointer pkg 2022-11-23 17:40:23 +02:00
utils.go run hack/update-netparse-cve.sh 2021-08-20 10:42:09 +02:00