pod-reaper
pod-reaper copied to clipboard
Rule based pod killing kubernetes controller
While testing pod-reaper in dry run, one issue we observed when numerous pods would match the rules defined and `MAX_PODS` is defined is that all the matching pods would be...
Hello, I'm configuring the pod-reaper helm chart with Renovate bot, then I figured that the helm chart version is not the same as the pod-reaper code. For that there are...
The option MAX_DURATION option does not count the Pod Status Start time but instead the Pod Start time. I deployed a pod with an entry point that Evicts it after...
How to configure this tool for this usecase 1. User deploys an app 2. A central db stores a cron or an **uptime-schedule** E.g: app should be up on weekdays...
Resolves #44. Rule configuration may be overridden by annotations on individual pods. For single-value rules, the configured rule value will be replaced by the annotation value. For multi-value rules, annotations...
Kubectl shows the pod _phase_ as the status, e.g. Running, Succeeded, Failed. The pod status rule checks the optional _reason_, e.g. Evicted. This is confusing, and also means you cannot...
I refactored the project structure, and enabled `NewReaper()` to take a filename for kubeconfig. I then created an e2e test that will 1. bring up a KinD cluster, 2. run...
It would be nice to be able to override default pod-reaper settings with annotations. For example if `MAX_DURATION=1d`, but a pod had the annotation `pod-reaper/maxduration: 12h`, then that pod would...
Working on #42 and running some local testing of #40 made me think more about my local development. I found a lot of quick success playing around with KinD (kubernetes...
Related to #44 This pull-request fundamentally changes the way that rules are loaded and evaluated with the expressed intent of making #44 easier to implement. Previously, a rule was a...