mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +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.lastObservations = observations
|
||||||
m.Unlock()
|
m.Unlock()
|
||||||
|
|
||||||
// evict pods if there is a resource uage violation from local volume temporary storage
|
// evict pods if there is a resource usage violation from local volume temporary storage
|
||||||
// If eviction happenes in localVolumeEviction function, skip the rest of eviction action
|
// If eviction happens in localVolumeEviction function, skip the rest of eviction action
|
||||||
if utilfeature.DefaultFeatureGate.Enabled(features.LocalStorageCapacityIsolation) {
|
if utilfeature.DefaultFeatureGate.Enabled(features.LocalStorageCapacityIsolation) {
|
||||||
if evictedPods := m.localStorageEviction(activePods); len(evictedPods) > 0 {
|
if evictedPods := m.localStorageEviction(activePods); len(evictedPods) > 0 {
|
||||||
return evictedPods
|
return evictedPods
|
||||||
|
Loading…
Reference in New Issue
Block a user