forked from cilium/cilium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkg/policy: index policies by k8s UID
As k8s UID are unique, we can index the policies by their UId. This will decrease Cilium's boot-up time for clusters with a large number of network policies. For a cluster with a lot of network policies that was taking ~4m20s to boot Cilium, with this change it will take ~20 seconds. Signed-off-by: André Martins <[email protected]>
- Loading branch information
1 parent
a213d45
commit 4cb0940
Showing
1 changed file
with
20 additions
and
3 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