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

Failed / Completed pod support #29

Merged

Conversation

eytan-avisror
Copy link
Collaborator

@eytan-avisror eytan-avisror commented Apr 16, 2020

Fixes #27
Fixes #28

  • unit tests
  • readme
  • manual testing

@eytan-avisror eytan-avisror requested a review from a team as a code owner April 16, 2020 01:50
@codecov
Copy link

codecov bot commented Apr 16, 2020

Codecov Report

Merging #29 into master will increase coverage by 2.62%.
The diff coverage is 81.52%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #29      +/-   ##
==========================================
+ Coverage   56.48%   59.10%   +2.62%     
==========================================
  Files           4        5       +1     
  Lines         825      939     +114     
==========================================
+ Hits          466      555      +89     
- Misses        304      319      +15     
- Partials       55       65      +10     
Impacted Files Coverage Δ
pkg/reaper/podreaper/podreaper.go 76.75% <80.79%> (+0.08%) ⬆️
pkg/reaper/podreaper/types.go 100.00% <100.00%> (ø)

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 3ced477...b45b62b. Read the comment docs.

@eytan-avisror eytan-avisror merged commit b7f60a8 into keikoproj:master Apr 16, 2020
eytan-avisror added a commit to eytan-avisror/governor that referenced this pull request Apr 16, 2020
* initial implementation

* fixes

* Namespace exclusion

* test sorting

* test fixes

* exclusion granularity

* add vendor dependencies

* fixes

* Update podreaper.go

* Update README.md

* Update README.md

* Update README.md

* add namespaces rbac

* fix readme typos
|---|:---:|:---:|
| governor.keikoproj.io/disable-pod-reaper | "true" | disable all features
| governor.keikoproj.io/disable-completed-pod-reap | "true" | disable completed pod reaping
| governor.keikoproj.io/disable-completed-pod-reap | "true" | disable failed pod reaping

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be governor.keikoproj.io/disable-failed-pod-reap ?

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.

Pod-Reaper: Namespace exclusion annotation Pod-Reaper: Delete Completed/Failed pods
3 participants