mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-09 03:57:41 +00:00
fixed the some typo in eviction_manager
This commit is contained in:
parent
e823c473b9
commit
62f29fcb39
@ -312,7 +312,7 @@ func (m *managerImpl) synchronize(diskInfoProvider DiskInfoProvider, podFunc Act
|
|||||||
m.Unlock()
|
m.Unlock()
|
||||||
|
|
||||||
// evict pods if there is a resource usage violation from local volume temporary storage
|
// 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 eviction happens in localStorageEviction 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