endpoint/watchdog: fetch all endpoints without programs loaded#44111
Merged
joestringer merged 1 commit intocilium:mainfrom Feb 5, 2026
Merged
Conversation
843a026 to
7c40e55
Compare
Member
Author
|
/test |
joestringer
reviewed
Feb 2, 2026
fristonio
approved these changes
Feb 3, 2026
0ad9fc7 to
800e2ba
Compare
Member
Author
|
/test |
joestringer
approved these changes
Feb 3, 2026
Member
joestringer
left a comment
There was a problem hiding this comment.
I'll approve but leave the comment thread above open for your response - still seems like it would be nice to save the strings for workload names from the iteration loop to generate better logs later on.
Currently, the endpoint watchdog reloads all Cilium endpoint BPF programs as soon as it detects one endpoint without the programs loaded. While analysing these watchdog warnings, it would be helpful to have the list of the endpoints without the programs loaded in the log message (and not just the total count of all endpoints). Therefore, this commit slightly changes the logic and collects all endpoints without the programs loaded before reloading the programs (incl. the proper log message). Signed-off-by: Marco Hofstetter <marco.hofstetter@isovalent.com>
800e2ba to
525be04
Compare
Member
Author
|
/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.
Currently, the endpoint watchdog reloads all Cilium endpoint BPF programs as soon as it detects one endpoint without the programs loaded.
While analysing these watchdog warnings, it would be helpful to have the list of the endpoints without the programs loaded in the log message (and not just the total count of all endpoints).
Therefore, this commit slightly changes the logic and collects all endpoints without the programs loaded before reloading the programs (incl. the proper log message).
Related issue: #44078