- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for thresholdsMetGracePeriod (0.45 sec)
-
pkg/kubelet/eviction/eviction_manager.go
} // determine the set of thresholds we need to drive eviction behavior (i.e. all grace periods are met) thresholds = thresholdsMetGracePeriod(thresholdsFirstObservedAt, now) debugLogThresholdsWithObservation("thresholds - grace periods satisfied", thresholds, observations) // update internal state m.Lock() m.nodeConditions = nodeConditions
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 27 18:55:56 UTC 2024 - 24.6K bytes - Viewed (0) -
pkg/kubelet/eviction/helpers_test.go
softThreshold: oldTime.Time, }, now: now.Time, result: []evictionapi.Threshold{softThreshold}, }, } for testName, testCase := range testCases { actual := thresholdsMetGracePeriod(testCase.observedAt, now.Time) if !thresholdList(actual).Equal(thresholdList(testCase.result)) { t.Errorf("Test case: %s, expected: %v, actual: %v", testName, testCase.result, actual) } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 15 23:14:12 UTC 2024 - 106.7K bytes - Viewed (0)