mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 15:37:24 +00:00
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:
@@ -326,6 +326,7 @@ func TestSchedulerExtender(t *testing.T) {
|
||||
v1.DefaultSchedulerName,
|
||||
clientSet,
|
||||
informerFactory.Core().V1().Nodes(),
|
||||
informerFactory.Core().V1().Pods(),
|
||||
informerFactory.Core().V1().PersistentVolumes(),
|
||||
informerFactory.Core().V1().PersistentVolumeClaims(),
|
||||
informerFactory.Core().V1().ReplicationControllers(),
|
||||
|
||||
Reference in New Issue
Block a user