Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetWindows (0.12 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_container_windows.go

    }
    
    func toKubeContainerResources(statusResources *runtimeapi.ContainerResources) *kubecontainer.ContainerResources {
    	var cStatusResources *kubecontainer.ContainerResources
    	runtimeStatusResources := statusResources.GetWindows()
    	if runtimeStatusResources != nil {
    		var memLimit, cpuLimit *resource.Quantity
    
    		// Used the reversed formula from the calculateCPUMaximum function
    		if runtimeStatusResources.CpuMaximum > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. pkg/kubelet/stats/cri_stats_provider_windows.go

    	containerMap map[string]*runtimeapi.Container,
    	podSandbox *runtimeapi.PodSandbox,
    	rootFsInfo *cadvisorapiv2.FsInfo,
    	updateCPUNanoCoreUsage bool) error {
    	for _, criContainerStat := range criSandboxStat.GetWindows().GetContainers() {
    		container, found := containerMap[criContainerStat.Attributes.Id]
    		if !found {
    			continue
    		}
    		// Fill available stats for full set of required pod stats
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 07:03:11 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top