add names for workqueues to gather controller latency/depth metrics

This commit is contained in:
deads2k
2016-08-22 14:15:45 -04:00
parent 0f8869d308
commit 4317173d3f
13 changed files with 15 additions and 15 deletions

View File

@@ -125,7 +125,7 @@ func NewDaemonSetsController(podInformer framework.SharedIndexInformer, kubeClie
},
burstReplicas: BurstReplicas,
expectations: controller.NewControllerExpectations(),
queue: workqueue.New(),
queue: workqueue.NewNamed("daemonset"),
}
// Manage addition/update of daemon sets.
dsc.dsStore.Store, dsc.dsController = framework.NewInformer(