Scheduler should use a shared informer

Can be used either from a true shared informer or a local shared
informer created just for the scheduler.
This commit is contained in:
Clayton Coleman
2017-05-22 10:15:57 -04:00
parent 027c31e7dc
commit 8cd95c78c4
12 changed files with 196 additions and 38 deletions

View File

@@ -352,6 +352,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
"some-scheduler-name",
client,
informerFactory.Core().V1().Nodes(),
informerFactory.Core().V1().Pods(),
informerFactory.Core().V1().PersistentVolumes(),
informerFactory.Core().V1().PersistentVolumeClaims(),
informerFactory.Core().V1().ReplicationControllers(),