Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ParseCgroupfsToCgroupName (0.36 sec)

  1. pkg/kubelet/cm/cgroup_manager_linux.go

    		result = append(result, unescapeSystemdCgroupName(part))
    	}
    	return CgroupName(result)
    }
    
    func (cgroupName CgroupName) ToCgroupfs() string {
    	return "/" + path.Join(cgroupName...)
    }
    
    func ParseCgroupfsToCgroupName(name string) CgroupName {
    	components := strings.Split(strings.TrimPrefix(name, "/"), "/")
    	if len(components) == 1 && components[0] == "" {
    		components = []string{}
    	}
    	return CgroupName(components)
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 13:02:15 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/container_manager_linux.go

    			int64(*pidlimits.MaxPID),
    			resource.DecimalSI)
    	}
    
    	// Turn CgroupRoot from a string (in cgroupfs path format) to internal CgroupName
    	cgroupRoot := ParseCgroupfsToCgroupName(nodeConfig.CgroupRoot)
    	cgroupManager := NewCgroupManager(subsystems, nodeConfig.CgroupDriver)
    	// Check if Cgroup-root actually exists on the node
    	if nodeConfig.CgroupsPerQOS {
    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