- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for HighThresholdPercent (0.42 sec)
-
pkg/kubelet/images/image_gc_manager_test.go
}{ { name: "Test for LowThresholdPercent < HighThresholdPercent", imageGCPolicy: ImageGCPolicy{ HighThresholdPercent: 2, LowThresholdPercent: 1, }, }, { name: "Test for HighThresholdPercent < 0,", imageGCPolicy: ImageGCPolicy{ HighThresholdPercent: -1, }, expectErr: "invalid HighThresholdPercent -1, must be in range [0-100]", }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 15:38:20 UTC 2024 - 29.2K bytes - Viewed (0) -
pkg/kubelet/images/image_gc_manager.go
// Validate policy. if policy.HighThresholdPercent < 0 || policy.HighThresholdPercent > 100 { return nil, fmt.Errorf("invalid HighThresholdPercent %d, must be in range [0-100]", policy.HighThresholdPercent) } if policy.LowThresholdPercent < 0 || policy.LowThresholdPercent > 100 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 19.4K bytes - Viewed (0) -
pkg/kubelet/kubelet_test.go
kubelet.resourceAnalyzer, kubelet.podManager, kubelet.runtimeCache, fakeRuntime, kubelet.statusManager, fakeHostStatsProvider, ) fakeImageGCPolicy := images.ImageGCPolicy{ HighThresholdPercent: 90, LowThresholdPercent: 80, } imageGCManager, err := images.NewImageGCManager(fakeRuntime, kubelet.StatsProvider, fakeRecorder, fakeNodeRef, fakeImageGCPolicy, noopoteltrace.NewTracerProvider())
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 106.9K bytes - Viewed (0) -
pkg/kubelet/kubelet.go
daemonEndpoints := &v1.NodeDaemonEndpoints{ KubeletEndpoint: v1.DaemonEndpoint{Port: kubeCfg.Port}, } imageGCPolicy := images.ImageGCPolicy{ MinAge: kubeCfg.ImageMinimumGCAge.Duration, HighThresholdPercent: int(kubeCfg.ImageGCHighThresholdPercent), LowThresholdPercent: int(kubeCfg.ImageGCLowThresholdPercent), } if utilfeature.DefaultFeatureGate.Enabled(features.ImageMaximumGCAge) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 126.1K bytes - Viewed (1)