pkg/dial/resolver: Fix KVStore service resolution on initialisation#44653
Merged
giorio94 merged 2 commits intocilium:mainfrom Mar 12, 2026
Merged
pkg/dial/resolver: Fix KVStore service resolution on initialisation#44653giorio94 merged 2 commits intocilium:mainfrom
giorio94 merged 2 commits intocilium:mainfrom
Conversation
Contributor
Author
|
Hey @joamaki, I took a go at implementing your suggestion for a fix for this issue and this seems to work. Let me know if this is what you had in mind. |
Member
|
/test |
3 tasks
joamaki
approved these changes
Mar 9, 2026
Contributor
|
Bunch of privileged tests are failing: https://github.com/cilium/cilium/actions/runs/22767890933/job/66040826515 |
Contributor
Author
|
Hey @joamaki, thank you for the review ! I think I need to tweak the privileged tests to provide the |
9c64831 to
60a919b
Compare
Member
|
/test |
1 similar comment
Member
|
/test |
This fixes a bug where the agent fails to initialize as it reaches a deadlock when trying to resolve the address of the KVStore if it is behind a K8s Service. The fix adds a clear dependency in the resolver on the K8s reflectors to force correct initialisation order. Fixes: cilium#44527 Signed-off-by: Alex Melhem <alex.melhem@datadoghq.com>
32b2487 to
02650b1
Compare
Member
|
/test |
Contributor
Author
heathermomof2
approved these changes
Mar 11, 2026
rgo3
approved these changes
Mar 11, 2026
giorio94
reviewed
Mar 11, 2026
Member
giorio94
left a comment
There was a problem hiding this comment.
Thanks! The changes look good to me, with only a couple of minor comments inline.
Adds a timeout and a fallback when waiting for the frontends table to initialize. The function falls back to quertying the k8s apiserver. Signed-off-by: Alex Melhem <alex.melhem@datadoghq.com>
02650b1 to
34b554b
Compare
Member
|
/test |
Member
|
/test |
10 tasks
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.
This fixes a bug where the agent fails to initialize as it reaches a deadlock when trying to resolve the address of the KVStore if it is behind a K8s Service. The fix adds a clear dependency in the resolver on the K8s reflectors to force correct initialisation order.
Fixes: #44527