more sensible comment

This commit is contained in:
Maxime Lagresle 2021-04-12 21:20:20 +02:00
parent 848dc9e65f
commit 63cba062eb
No known key found for this signature in database
GPG Key ID: B99224DCB4BABD82

View File

@ -429,7 +429,8 @@ func (m *managerImpl) reclaimNodeLevelResources(signalToReclaim evictionapi.Sign
observations, _ := makeSignalObservations(summary)
debugLogObservations("observations after resource reclaim", observations)
// determine the set of thresholds met independent of grace period
// evaluate all thresholds independently of their grace period to see if with
// the new observations, we think we have met min reclaim goals
thresholds := thresholdsMet(m.config.Thresholds, observations, true)
debugLogThresholdsWithObservation("thresholds after resource reclaim - ignoring grace period", thresholds, observations)