kubernetes/pkg/controller
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
..
bootstrap run hack/update-all 2017-06-22 11:31:03 -07:00
certificates run hack/update-all 2017-06-22 11:31:03 -07:00
cloud run hack/update-all 2017-06-22 11:31:03 -07:00
cronjob deprecate created-by annotation for cronjob 2017-06-23 11:05:40 -07:00
daemon run hack/update-all 2017-06-22 11:31:03 -07:00
deployment Merge pull request #47579 from wanghaoran1988/fix_43322 2017-06-23 07:21:36 -07:00
disruption run hack/update-all 2017-06-22 11:31:03 -07:00
endpoint Use endpoints informer for the endpoint controller 2017-06-27 10:17:09 +01:00
garbagecollector run hack/update-all 2017-06-22 11:31:03 -07:00
history Merge pull request #47709 from krmayankk/ss 2017-06-23 07:21:33 -07:00
job run hack/update-all 2017-06-22 11:31:03 -07:00
namespace run hack/update-all 2017-06-22 11:31:03 -07:00
node Merge pull request #46955 from zjj2wry/nodecontroller_matrics 2017-06-23 22:22:16 -07:00
podautoscaler run hack/update-all 2017-06-22 11:31:03 -07:00
podgc run hack/update-all 2017-06-22 11:31:03 -07:00
replicaset run hack/update-all 2017-06-22 11:31:03 -07:00
replication run hack/update-all 2017-06-22 11:31:03 -07:00
resourcequota run hack/update-all 2017-06-22 11:31:03 -07:00
route run hack/update-all 2017-06-22 11:31:03 -07:00
service run hack/update-all 2017-06-22 11:31:03 -07:00
serviceaccount run hack/update-all 2017-06-22 11:31:03 -07:00
statefulset Merge pull request #47772 from jianglingxia/jlx620 2017-06-23 08:29:26 -07:00
ttl run hack/update-all 2017-06-22 11:31:03 -07:00
volume Merge pull request #42254 from justinsb/volumes_dont_leak_nodestatusupdateneeded 2017-06-22 21:43:04 -07:00
.import-restrictions add import restrictions 2016-10-13 16:10:24 -07:00
BUILD run hack/update-all 2017-06-22 11:31:03 -07:00
client_builder.go run hack/update-all 2017-06-22 11:31:03 -07:00
controller_ref_manager.go run hack/update-all 2017-06-22 11:31:03 -07:00
controller_ref_manager_test.go run hack/update-all 2017-06-22 11:31:03 -07:00
controller_utils.go run hack/update-all 2017-06-22 11:31:03 -07:00
controller_utils_test.go run hack/update-all 2017-06-22 11:31:03 -07:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
lookup_cache.go Use fnv.New32a() in hash instead adler32 2017-02-15 14:03:54 +08:00
OWNERS Add janetkuo to approvers for controllers 2017-02-08 14:37:25 -08:00