Add support for statefulset spreading to the scheduler

This commit is contained in:
Bobby Salamat
2017-02-18 23:28:09 -08:00
parent 77733c2afd
commit ef686716ba
21 changed files with 170 additions and 22 deletions

View File

@@ -69,6 +69,7 @@ func mustSetupScheduler() (schedulerConfigurator scheduler.Configurator, destroy
informerFactory.Core().V1().PersistentVolumeClaims(),
informerFactory.Core().V1().ReplicationControllers(),
informerFactory.Extensions().V1beta1().ReplicaSets(),
informerFactory.Apps().V1beta1().StatefulSets(),
informerFactory.Core().V1().Services(),
v1.DefaultHardPodAffinitySymmetricWeight,
)