forked from cilium/cilium
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Checks k8s metadata for pod before removing IP from ipccahe
This is to prevent removing ip cache when a Pod's IP is reused. We will only remove ip cache entry if the k8s metadata associated with the IP is "current", meaning tha the last time we update this entry, it is from the same pod or CEP. Signed-off-by: Weilong Cui <cuiwl@google.com>
- Loading branch information
Showing
2 changed files
with
16 additions
and
7 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