Unused deployments
anilkumar000 opened this issue · 3 comments
anilkumar000 commented
Hi @hjacobs,
can we find out unused deployments/resources and delete them as Janitor Monkey! please comment
hjacobs commented
How would you define "unused"?
anilkumar000 commented
say if some pod has no traffic directed to it from n days, so we could consider it as unused, and delete with notification to clients.
please suggest @hjacobs
hjacobs commented
@anilkumar000 this would require some custom logic e.g. to integrate with some existing Ingress proxy (nginx, Skipper, ...) to get the number of requests. You can write some Python hook to achieve this: #64