- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ToCgroupfs (0.11 sec)
-
pkg/kubelet/cm/cgroup_manager_linux.go
result := []string{} for _, part := range parts { 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, "/"), "/")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 27 13:02:15 UTC 2023 - 26.5K bytes - Viewed (0) -
pkg/kubelet/cm/helpers_linux.go
nodeAllocatableRoot = NewCgroupName(nodeAllocatableRoot, defaultNodeAllocatableCgroupName) } if cgroupDriver == "systemd" { return nodeAllocatableRoot.ToSystemd() } return nodeAllocatableRoot.ToCgroupfs() } // GetKubeletContainer returns the cgroup the kubelet will use func GetKubeletContainer(kubeletCgroups string) (string, error) { if kubeletCgroups == "" { cont, err := getContainer(os.Getpid())
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 14 11:52:28 UTC 2023 - 9.8K bytes - Viewed (0)