This repository was archived by the owner on Oct 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 39
A scale question #80
Copy link
Copy link
Open
Labels
questionFurther information is requestedFurther information is requested
Description
Hey,
Apologies this is more of a question than an issue... I tried to get the answer from the code but python isn't my strong suit :)
I'm thinking about kube-janitor at scale, we have 500+ namespaces etc, and I believe (please correct me if I'm wrong) the approach janitor takes is to iterate over them all, pulling at the resources, then inspecting the annotations - every minute.
That feels like an expensive operation, and I'm wondering if you've considered either:
- Being able to restrict the resources to those which have a label of
janitor=true, as well as the relevant annotation?
or
- Watching the api for changes rather than polling per minute?
Cheers
Karl
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested