Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isTmpfsNoswapOptionSupportedHelper (0.52 sec)

  1. pkg/kubelet/util/swap/swap_util.go

    	swapOnOnce                        sync.Once
    )
    
    const TmpfsNoswapOption = "noswap"
    
    func IsTmpfsNoswapOptionSupported(mounter mount.Interface, mountPath string) bool {
    	isTmpfsNoswapOptionSupportedHelper := func() bool {
    		if sysruntime.GOOS == "windows" {
    			return false
    		}
    
    		if inuserns.RunningInUserNS() {
    			// Turning off swap in unprivileged tmpfs mounts unsupported
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 10:07:06 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top