kubernetes/pkg/controller/persistentvolume
k8s-merge-robot a41d84408c Merge pull request #26518 from jsafrane/initial-sync
Automatic merge from submit-queue

Fill controller caches on startup

The controller needs to fill its caches before it starts binding/recycling/ deleting or provisioning volumes and claims. This was done using blocking initial 'xxx added' from going through syncClaim/syncVolume. However, when the caches were full, the controller waited for the next sync period to do actual binding/recycling etc.

In this patch, the controller fills its caches directly from etcd and then processes initial 'xxx added' events to reconcile the world and bind/recycle/ delete/provision stuff, resulting in faster binding after startup.

Fixes #25967 (properly)
2016-06-02 21:44:56 -07:00
..
options Reduce volume controller sync period 2016-05-30 09:59:31 +02:00
binder_test.go Add label selector to match criteria for claims to volumes 2016-05-30 12:11:12 -04:00
controller.go Merge pull request #26518 from jsafrane/initial-sync 2016-06-02 21:44:56 -07:00
controller_base.go Fill controller caches on startup 2016-05-30 13:16:45 +02:00
controller_test.go Merge pull request #26518 from jsafrane/initial-sync 2016-06-02 21:44:56 -07:00
delete_test.go Big move and rename 2016-05-18 10:06:51 +02:00
framework_test.go Merge pull request #26410 from jsafrane/fix-test-race 2016-06-02 04:25:08 -07:00
index.go Add label selector to match criteria for claims to volumes 2016-05-30 12:11:12 -04:00
index_test.go Add label selector to match criteria for claims to volumes 2016-05-30 12:11:12 -04:00
OWNERS Move blunderbuss assignees into tree 2016-03-02 20:46:32 -05:00
provision_test.go Generate shorter provisioned PV names. 2016-05-18 10:06:51 +02:00
recycle_test.go Big move and rename 2016-05-18 10:06:51 +02:00
volume_host.go Big move and rename 2016-05-18 10:06:51 +02:00