Skip to content
This repository has been archived by the owner on Oct 3, 2020. It is now read-only.

Unused deployments #75

Open
anilkumar000 opened this issue Jun 9, 2020 · 3 comments
Open

Unused deployments #75

anilkumar000 opened this issue Jun 9, 2020 · 3 comments

Comments

@anilkumar000
Copy link

Hi @hjacobs,
can we find out unused deployments/resources and delete them as Janitor Monkey! please comment

@hjacobs
Copy link
Owner

hjacobs commented Jun 9, 2020

How would you define "unused"?

@anilkumar000
Copy link
Author

anilkumar000 commented Jun 10, 2020

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
Copy link
Owner

hjacobs commented Jun 29, 2020

@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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants