Skip to content

Conversation

mhofstetter
Copy link
Member

This commit moves the endpoint bpf program watchdag from the daemon to
pkg/endpoint/watchdog. The watchdog can directly depend on the Orchestrator.
By doing this we can get rid of the dependency to the Daemon struct.

Please review the individual commits.

This commit moves the endpoint bpf program watchdag from the daemon to
`pkg/endpoint/watchdog`. The watchdog can directly depend on the Orchestrator.
By doing this we can get rid of the dependency to the `Daemon` struct.

Signed-off-by: Marco Hofstetter <marco.hofstetter@isovalent.com>
This commit migrates the endpoint bpf prog watchdog
from using logrus to slog.

Signed-off-by: Marco Hofstetter <marco.hofstetter@isovalent.com>
This commit migreates the endpoint bpf program watchdog to use
Hive Jobs instead of a controller.

Signed-off-by: Marco Hofstetter <marco.hofstetter@isovalent.com>
This commit slightly refactors the logic (incl. error handling)
of the endpoint bpf program watchdog to improve its readability.

Signed-off-by: Marco Hofstetter <marco.hofstetter@isovalent.com>
@mhofstetter mhofstetter added kind/cleanup This includes no functional changes. release-note/misc This PR makes changes that have no direct user impact. area/modularization Relates to code modularization and maintenance. labels May 6, 2025
@mhofstetter
Copy link
Member Author

/test

@mhofstetter mhofstetter marked this pull request as ready for review May 6, 2025 14:22
@mhofstetter mhofstetter requested review from a team as code owners May 6, 2025 14:22
@mhofstetter mhofstetter requested a review from gandro May 6, 2025 14:22
Copy link
Member

@gandro gandro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work cleaning this up!

@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label May 7, 2025
@gandro gandro added this pull request to the merge queue May 7, 2025
Merged via the queue into cilium:main with commit edc5970 May 7, 2025
69 checks passed
@mhofstetter mhofstetter deleted the pr/mhofstetter/extract-ep-watchdog branch May 7, 2025 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/modularization Relates to code modularization and maintenance. kind/cleanup This includes no functional changes. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants