Commit bdfcf9be authored by gmarek's avatar gmarek

Increase a interval during which we gather add-on resource usage to decrase variability

parent 011fb5c0
......@@ -297,7 +297,7 @@ func getKubeSystemContainersResourceUsage(c *client.Client) (resourceUsagePerCon
for _, node := range nodes.Items {
go func(nodeName string) {
defer wg.Done()
nodeUsage, err := getOneTimeResourceUsageOnNode(c, nodeName, 5*time.Second, func() []string { return containerIDs }, true)
nodeUsage, err := getOneTimeResourceUsageOnNode(c, nodeName, 15*time.Second, func() []string { return containerIDs }, true)
mutex.Lock()
defer mutex.Unlock()
if err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment