kubernetes/pkg/controller/endpoint
James Ravn 9fc5a547ae Use endpoints informer for the endpoint controller
This substantially reduces the number of API calls made by the endpoint
controller. Currently the controller makes an API call per endpoint for
each service that is synced. When the 30s resync is triggered, this
results in an API call for every single endpoint in the cluster. This
quickly exceeds the default qps/burst limit of 20/30 even in small
clusters, leading to delays in endpoint updates.

This change modifies the controller to use the endpoint informer cache
for all endpoint GETs. This means we only make API calls for changes in
endpoints. As a result, qps only depends on the pod activity in the
cluster, rather than the number of services.
2017-06-27 10:17:09 +01:00
..
BUILD Use endpoints informer for the endpoint controller 2017-06-27 10:17:09 +01:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
endpoints_controller_test.go Use endpoints informer for the endpoint controller 2017-06-27 10:17:09 +01:00
endpoints_controller.go Use endpoints informer for the endpoint controller 2017-06-27 10:17:09 +01:00
OWNERS Update OWNERS 2016-11-02 16:19:29 -07:00