- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for GetCgroupSubsystems (0.23 sec)
-
pkg/kubelet/cm/helpers_unsupported.go
func ResourceConfigForPod(pod *v1.Pod, enforceCPULimit bool, cpuPeriod uint64, enforceMemoryQoS bool) *ResourceConfig { return nil } // GetCgroupSubsystems returns information about the mounted cgroup subsystems func GetCgroupSubsystems() (*CgroupSubsystems, error) { return nil, nil } func getCgroupProcs(dir string) ([]int, error) { return nil, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 24 18:21:21 UTC 2023 - 1.9K bytes - Viewed (0) -
pkg/kubelet/cm/qos_container_manager_linux_test.go
}, }, }, }, }, }, } } func createTestQOSContainerManager() (*qosContainerManagerImpl, error) { subsystems, err := GetCgroupSubsystems() if err != nil { return nil, fmt.Errorf("failed to get mounted cgroup subsystems: %v", err) } cgroupRoot := ParseCgroupfsToCgroupName("/")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 4K bytes - Viewed (0) -
pkg/kubelet/cm/helpers_linux.go
} mounts = append(mounts, m) } return &CgroupSubsystems{ Mounts: mounts, MountPoints: mountPoints, }, nil } // GetCgroupSubsystems returns information about the mounted cgroup subsystems func GetCgroupSubsystems() (*CgroupSubsystems, error) { if libcontainercgroups.IsCgroup2UnifiedMode() { return getCgroupSubsystemsV2() } return getCgroupSubsystemsV1() }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 14 11:52:28 UTC 2023 - 9.8K bytes - Viewed (0) -
pkg/kubelet/eviction/memory_threshold_notifier.go
func NewMemoryThresholdNotifier(threshold evictionapi.Threshold, cgroupRoot string, factory NotifierFactory, handler func(string)) (ThresholdNotifier, error) { cgroups, err := cm.GetCgroupSubsystems() if err != nil { return nil, err } cgpath, found := cgroups.MountPoints["memory"] if !found || len(cgpath) == 0 { return nil, fmt.Errorf("memory cgroup mount point not found") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Feb 21 00:36:14 UTC 2021 - 4.7K bytes - Viewed (0) -
pkg/kubelet/cm/container_manager_linux.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 10:18:16 UTC 2024 - 35.1K bytes - Viewed (0)