mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-10 21:50:05 +00:00
Set resource-gathering and probe-duration period for kubemark
This commit is contained in:
@@ -219,6 +219,8 @@ func NewResourceUsageGatherer(c clientset.Interface, options ResourceGathererOpt
|
||||
stopCh: g.stopCh,
|
||||
wg: &g.workerWg,
|
||||
finished: false,
|
||||
resourceDataGatheringPeriod: options.ResourceDataGatheringPeriod,
|
||||
probeDuration: options.ProbeDuration,
|
||||
})
|
||||
} else {
|
||||
// Tracks kube-system pods if no valid PodList is passed in.
|
||||
|
Reference in New Issue
Block a user