Update factory.go informers to update equivalence cache

Fix tombstone

Add e2e to verify equivalence cache

Addressing nits in factory,go and e2e

Update build files
This commit is contained in:
Harry Zhang
2017-02-15 17:00:50 +08:00
parent 4103f40fc2
commit 0e8517875e
13 changed files with 645 additions and 29 deletions

View File

@@ -36,6 +36,8 @@ import (
"k8s.io/kubernetes/test/integration/framework"
)
const enableEquivalenceCache = true
// mustSetupScheduler starts the following components:
// - k8s api server (a.k.a. master)
// - scheduler
@@ -74,6 +76,7 @@ func mustSetupScheduler() (schedulerConfigurator scheduler.Configurator, destroy
informerFactory.Apps().V1beta1().StatefulSets(),
informerFactory.Core().V1().Services(),
v1.DefaultHardPodAffinitySymmetricWeight,
enableEquivalenceCache,
)
eventBroadcaster := record.NewBroadcaster()