Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for memoryUsage (0.28 sec)

  1. pkg/kubelet/cm/qos_container_manager_linux.go

    	// Attempt to set the limit near the current usage to put pressure
    	// on the cgroup and prevent further growth.
    	for qos, config := range configs {
    		usage, err := m.cgroupManager.MemoryUsage(config.Name)
    		if err != nil {
    			klog.V(2).InfoS("Failed to get resource stats", "err", err)
    			return
    		}
    
    		// Because there is no good way to determine of the original Update()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 20:42:59 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. pkg/kubelet/stats/cri_stats_provider_test.go

    	} else {
    		containerStats.Cpu = &runtimeapi.CpuUsage{
    			Timestamp:            time.Now().UnixNano(),
    			UsageCoreNanoSeconds: &runtimeapi.UInt64Value{Value: rand.Uint64()},
    		}
    		containerStats.Memory = &runtimeapi.MemoryUsage{
    			Timestamp:       time.Now().UnixNano(),
    			WorkingSetBytes: &runtimeapi.UInt64Value{Value: rand.Uint64()},
    		}
    	}
    	return containerStats
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 54.5K bytes
    - Viewed (0)
Back to top