Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make addEgressNode and deleteEgressNode use caches for pulling EIPs
Since in the previous commit we will always call addEgressNode for every kubelet update which is every 10seconds for every node, we must stop using kapi listing for EIPs since this will not scale well. Let us use the informer caches to pull EIPs and then unless there are EIPs that have status.items != spec.items rest will be shortcircuited in this function. Signed-off-by: Surya Seetharaman <suryaseetharaman.9@gmail.com>
- Loading branch information