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

Feature: Dynamic Rule Configuration for pod-reaper #1

Open
eytan-avisror opened this issue Aug 7, 2019 · 0 comments
Open

Feature: Dynamic Rule Configuration for pod-reaper #1

eytan-avisror opened this issue Aug 7, 2019 · 0 comments
Labels
enhancement New feature or request pod-reaper
Milestone

Comments

@eytan-avisror
Copy link
Collaborator

eytan-avisror commented Aug 7, 2019

Pod reaper should support some sort of rule configuration to make it much more dynamic.
Instead of using flags, we can load a configuration file that contains something like:

podReaperRules:
- name: killTerminatingPods
  status: Terminating
  reapAfter: 10
  softReap: true
- name: killContainerCreatingPods
  status: ContainerCreating
  reapAfter: 5
  softReap: false
- name: killInitPods
  status: Init
  reapAfter: 10
  softReap: false

valid statuses = Terminating(by timestamp), ContainerCreating(by ContainerStatuses), Init (by ContainerStatuses)

This can be a great enhancement to pod reaper

@eytan-avisror eytan-avisror added the enhancement New feature or request label Aug 7, 2019
@eytan-avisror eytan-avisror added this to the 0.2.0 milestone Aug 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pod-reaper
Projects
None yet
Development

No branches or pull requests

1 participant