-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
k8s: Use CCNP shared resource in k8s watcher
Refactor the k8s watchers code to rely on the Cilium Clusterwide Network Policy shared resource instead of starting a new Informer. Starting a new informer increases the load on api server and without a workqueue, the handlers will block the events streaming until completion. The usage of the CCNP shared resource solves this issues. Signed-off-by: Fabio Falzoi <fabio.falzoi@isovalent.com>
- Loading branch information
1 parent
c6110fa
commit d6f5504
Showing
2 changed files
with
39 additions
and
85 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