Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ParseCgroupFileUnified (0.27 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_container_linux.go

    		if isCgroup2UnifiedMode() {
    			// memory.swap.max does not exist in the cgroup root, so we check /sys/fs/cgroup/<SELF>/memory.swap.max
    			_, unified, err := cgroups.ParseCgroupFileUnified("/proc/self/cgroup")
    			if err != nil {
    				klog.V(5).ErrorS(fmt.Errorf("failed to parse /proc/self/cgroup: %w", err), warn)
    				return
    			}
    			p = filepath.Join("/sys/fs/cgroup", unified, "memory.swap.max")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 17.2K bytes
    - Viewed (0)
Back to top