Prevent Kubelet stuck in DiskPressure when imagefs minReclaim is set

Fixes https://github.com/kubernetes/kubernetes/issues/99094
This commit is contained in:
Maxime Lagresle 2021-02-15 14:29:29 +01:00
parent f3df7a2fdb
commit 7e97601023
No known key found for this signature in database
GPG Key ID: B99224DCB4BABD82

View File

@ -430,7 +430,7 @@ func (m *managerImpl) reclaimNodeLevelResources(signalToReclaim evictionapi.Sign
debugLogObservations("observations after resource reclaim", observations)
// determine the set of thresholds met independent of grace period
thresholds := thresholdsMet(m.config.Thresholds, observations, false)
thresholds := thresholdsMet(m.config.Thresholds, observations, true)
debugLogThresholdsWithObservation("thresholds after resource reclaim - ignoring grace period", thresholds, observations)
if len(thresholds) == 0 {