Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
ee82de56
Commit
ee82de56
authored
Aug 05, 2017
by
Malepati Bala Siva Sai Akhil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed typo in comment in eviction_manager
Fixed typo in comment in eviction_manager
parent
83603f03
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
eviction_manager.go
pkg/kubelet/eviction/eviction_manager.go
+2
-2
No files found.
pkg/kubelet/eviction/eviction_manager.go
View file @
ee82de56
...
@@ -309,8 +309,8 @@ func (m *managerImpl) synchronize(diskInfoProvider DiskInfoProvider, podFunc Act
...
@@ -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 u
s
age violation from local volume temporary storage
// If eviction happen
e
s 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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment