Fix endpoints for static pods stuck in init identity#45016
Merged
julianwiedmann merged 1 commit intocilium:mainfrom Apr 1, 2026
Merged
Fix endpoints for static pods stuck in init identity#45016julianwiedmann merged 1 commit intocilium:mainfrom
julianwiedmann merged 1 commit intocilium:mainfrom
Conversation
christarazi
approved these changes
Mar 27, 2026
fristonio
approved these changes
Mar 29, 2026
Member
|
/test |
Contributor
Author
|
For the failed test, it looks unrelated to the changes in my PR. The logs report in test:
@christarazi @fristonio what do you recommend here? |
Member
|
@aaroniscode can you rebase the PR against latest |
Static pods are represented in the API as mirror pods. The pod UID passed to CNI (K8S_POD_UID) can differ from the UID of the mirror pod in the local API-backed pod store, so the strict UID check caused FetchK8sMetadataForEndpoint to return ErrPodStoreOutdated repeatedly and left endpoints on reserved:init. Skip the outdated-store error when the pod has the mirror pod annotation (kubernetes.io/config.mirror / corev1.MirrorPodAnnotationKey). Fixes: cilium#34197 Signed-off-by: Aaron Miller <aaron@nebius.com>
auto-merge was automatically disabled
March 31, 2026 16:11
Head branch was pushed to by a user without write access
8ff427a to
7bd268f
Compare
Contributor
Author
|
@fristonio I rebased on the latest |
Member
|
/test |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Static pods are represented in the API as mirror pods. The pod UID passed to CNI (K8S_POD_UID) can differ from the UID of the mirror pod in the local API-backed pod store, so the strict UID check caused FetchK8sMetadataForEndpoint to return ErrPodStoreOutdated repeatedly and left endpoints on reserved:init.
Skip the outdated-store error when the pod has the mirror pod annotation (kubernetes.io/config.mirror / corev1.MirrorPodAnnotationKey).
Please ensure your pull request adheres to the following guidelines:
description and a
Fixes: #XXXline if the commit addresses a particularGitHub issue.
Fixes: <commit-id>tag, thenplease add the commit author[s] as reviewer[s] to this issue.
Fixes: #34197