-
Notifications
You must be signed in to change notification settings - Fork 3.4k
[v1.12] Delete IP Label metadata on delete from ipcache #26958
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[v1.12] Delete IP Label metadata on delete from ipcache #26958
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but it seems like I shouldn't be the only one reviewing this.
@youngnick added sig-policy for review |
/test-backport-1.12 Job 'Cilium-PR-K8s-1.17-kernel-4.9' hit: #25721 (97.68% similarity) |
This adds a delete call to the metadatamap of the ipcache. On a delete from ipcache this info was left bhind. In case a node gets deleted the IP would keep receiving the remote-host label from this cache incorrectly. Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
b3c6b9b
to
1e57744
Compare
/test-backport-1.12 Job 'Cilium-PR-K8s-1.20-kernel-4.9' failed: Click to show.Test Name
Failure Output
Jenkins URL: https://jenkins.cilium.io/job/Cilium-PR-K8s-1.20-kernel-4.9/113/ If it is a flake and a GitHub issue doesn't already exist to track it, comment Then please upload the Jenkins artifacts to that issue. |
/mlh new-flake Cilium-PR-K8s-1.20-kernel-4.9 👍 created #27118 |
This adds a delete call to the metadata map of the ipcache. On a delete from ipcache this info was left bhind. In case a node gets deleted the IP would keep receiving the remote-host label from this cache incorrectly.
This issue came out of an issue where we saw EKS nodes being recycled and the IPs getting re-used and receiving an incorrect remote-host label in identity cache and ip cache.