Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for quotaExists (0.1 sec)

  1. pkg/kubelet/cm/container_manager_linux.go

    	if err != nil {
    		klog.ErrorS(err, "Failed to detect if CPU cgroup cpu.cfs_period_us is available")
    	}
    	quotaExists, err := utilpath.Exists(utilpath.CheckFollowSymlink, path.Join(cpuMountPoint, "cpu.cfs_quota_us"))
    	if err != nil {
    		klog.ErrorS(err, "Failed to detect if CPU cgroup cpu.cfs_quota_us is available")
    	}
    	if quotaExists && periodExists {
    		f.cpuHardcapping = true
    	}
    	return f, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 35.1K bytes
    - Viewed (0)
Back to top