-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: refactor and improve K8s sync provider (#443)
## This PR fixes #434 This is a refactoring and internal improvement for K8s ISync provider. Improvements include, - Reduce K8s API load by utilizing Informer cache - Yet, provide a fallback if cache miss occurs (Note - we rely on K8s Informer for cache refill and consistency) - Informer now only watches a specific namespace (compared to **\***) - this is a potential performance improvement and a security improvement - Reduced informer handlers with extracted common logics - Unit tests where possible --------- Signed-off-by: Kavindu Dodanduwa <[email protected]>
- Loading branch information
1 parent
dc71e84
commit 4c03bfc
Showing
4 changed files
with
765 additions
and
133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.