mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Fixed typo in comment in eviction_manager
Fixed typo in comment in eviction_manager
This commit is contained in:
parent
83603f0358
commit
ee82de565a
@ -309,8 +309,8 @@ func (m *managerImpl) synchronize(diskInfoProvider DiskInfoProvider, podFunc Act
|
||||
m.lastObservations = observations
|
||||
m.Unlock()
|
||||
|
||||
// evict pods if there is a resource uage violation from local volume temporary storage
|
||||
// If eviction happenes in localVolumeEviction function, skip the rest of eviction action
|
||||
// evict pods if there is a resource usage violation from local volume temporary storage
|
||||
// If eviction happens in localVolumeEviction function, skip the rest of eviction action
|
||||
if utilfeature.DefaultFeatureGate.Enabled(features.LocalStorageCapacityIsolation) {
|
||||
if evictedPods := m.localStorageEviction(activePods); len(evictedPods) > 0 {
|
||||
return evictedPods
|
||||
|
Loading…
Reference in New Issue
Block a user