Set resource-gathering and probe-duration period for kubemark

This commit is contained in:
Shyam Jeedigunta 2017-11-16 12:02:56 +01:00
parent c7e7b9284c
commit 1ae56bbe2b

View File

@ -219,6 +219,8 @@ func NewResourceUsageGatherer(c clientset.Interface, options ResourceGathererOpt
stopCh: g.stopCh, stopCh: g.stopCh,
wg: &g.workerWg, wg: &g.workerWg,
finished: false, finished: false,
resourceDataGatheringPeriod: options.ResourceDataGatheringPeriod,
probeDuration: options.ProbeDuration,
}) })
} else { } else {
// Tracks kube-system pods if no valid PodList is passed in. // Tracks kube-system pods if no valid PodList is passed in.