Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reap evicted pods #34

Merged
merged 1 commit into from
Jul 23, 2020
Merged

Conversation

eytan-avisror
Copy link
Collaborator

Fixes #33

This fixes a bug where we don't properly reap evicted pods.
This change ignores --reap-failed-after flag, if there are no containerstatuses in the failed pod, and proceeds to mark it reapable essentially ignoring that flag.

@eytan-avisror eytan-avisror requested a review from a team as a code owner July 23, 2020 17:38
@codecov
Copy link

codecov bot commented Jul 23, 2020

Codecov Report

Merging #34 into master will increase coverage by 0.29%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #34      +/-   ##
==========================================
+ Coverage   59.19%   59.49%   +0.29%     
==========================================
  Files           5        5              
  Lines         941      943       +2     
==========================================
+ Hits          557      561       +4     
+ Misses        319      318       -1     
+ Partials       65       64       -1     
Impacted Files Coverage Δ
pkg/reaper/podreaper/podreaper.go 77.82% <100.00%> (+1.07%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4a20228...a2abad9. Read the comment docs.

@eytan-avisror eytan-avisror merged commit 9d02bed into keikoproj:master Jul 23, 2020
viveksyngh pushed a commit to viveksyngh/governor that referenced this pull request Oct 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support deletion of Evicted pods
2 participants