-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat(vm-route-forge): add ebpf route watcher #292
Merged
Merged
Conversation
This file contains 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
Signed-off-by: yaroslavborbat <[email protected]>
Signed-off-by: yaroslavborbat <[email protected]>
Signed-off-by: yaroslavborbat <[email protected]>
Signed-off-by: yaroslavborbat <[email protected]>
Signed-off-by: yaroslavborbat <[email protected]>
Signed-off-by: yaroslavborbat <[email protected]>
Signed-off-by: yaroslavborbat <[email protected]>
Signed-off-by: yaroslavborbat <[email protected]>
Signed-off-by: yaroslavborbat <[email protected]>
Signed-off-by: yaroslavborbat <[email protected]>
images/vm-route-forge/cmd/vm-route-forge/app/options/options.go
Outdated
Show resolved
Hide resolved
diafour
reviewed
Aug 26, 2024
diafour
reviewed
Aug 26, 2024
diafour
reviewed
Aug 26, 2024
diafour
reviewed
Aug 26, 2024
Signed-off-by: yaroslavborbat <[email protected]>
Signed-off-by: yaroslavborbat <[email protected]>
Signed-off-by: yaroslavborbat <[email protected]>
LopatinDmitr
previously approved these changes
Aug 26, 2024
yaroslavborbat
commented
Aug 27, 2024
images/vm-route-forge/internal/controller/route/route_controller.go
Outdated
Show resolved
Hide resolved
Signed-off-by: yaroslavborbat <[email protected]>
Signed-off-by: yaroslavborbat <[email protected]>
diafour
approved these changes
Aug 30, 2024
universal-itengineer
pushed a commit
that referenced
this pull request
Sep 11, 2024
Features api: adjust image size (cbb37c1) api: set tag for dvcr images (cf71a98) cdi: remove service-monitor (#328) (621baf2) controllelr: add gc for resources (#303) (a14f2e8) controller: add tasks with dlv (#321) (83fa3c6) cvi: create from vd (#352) (e42e28c) module: add base control-plane alerts (#345) (c66c4fd) vd: deny iso source (77bcad1) vd: override virtualdisk's pvc parameters via StorageClass annotations (#351) (fa37881) vdsnapshot: add the new controller for the virtual disk snapshot (e813124) vd: support filesystem mode (#300) (4b147f7) vd: support filesystem mode (#327) (754c4a7) vi: add new storage type - kubernetes (#298) (51e2a40) vi: create from vd (#354) (f4d4b6d) vm-route-forge: add ebpf route watcher (#292) (ca67190) vm: add metrics (#333) (c28df0a) vmclass: size policies vaidation hook (#344) (5f585c4) vmop: implement conditions, use new reconciler style (#258) (13f6a9d) Bug Fixes cvi: fix cleanup for resources (#363) (1f13148) templates: add missed symbol (#318) (f30cd69) vd: ensure last transition time for conditions (b39487a) vd: fix panic if pvc not found (#349) (fd4b0af) vd: remove pv protection (aa489c4) vd: set validator warnings instead of errors (b173b08) vm-route-forge: add check to ensure VM host node is identified (#356) (4077584) vmbda: fix sa rules (9367162) vmclass: revert last transition time to condition builder (db3f272) vm: fix panic with nil labelselector (#355) (8df6c59) vm: impl delete method for subresource virtualmachine on apiserver (#334) (39c7d65) vm: sync labels and annos with empty value (#322) (0353618)
eofff
pushed a commit
that referenced
this pull request
Sep 18, 2024
Features api: adjust image size (cbb37c1) api: set tag for dvcr images (cf71a98) cdi: remove service-monitor (#328) (621baf2) controllelr: add gc for resources (#303) (a14f2e8) controller: add tasks with dlv (#321) (83fa3c6) cvi: create from vd (#352) (e42e28c) module: add base control-plane alerts (#345) (c66c4fd) vd: deny iso source (77bcad1) vd: override virtualdisk's pvc parameters via StorageClass annotations (#351) (fa37881) vdsnapshot: add the new controller for the virtual disk snapshot (e813124) vd: support filesystem mode (#300) (4b147f7) vd: support filesystem mode (#327) (754c4a7) vi: add new storage type - kubernetes (#298) (51e2a40) vi: create from vd (#354) (f4d4b6d) vm-route-forge: add ebpf route watcher (#292) (ca67190) vm: add metrics (#333) (c28df0a) vmclass: size policies vaidation hook (#344) (5f585c4) vmop: implement conditions, use new reconciler style (#258) (13f6a9d) Bug Fixes cvi: fix cleanup for resources (#363) (1f13148) templates: add missed symbol (#318) (f30cd69) vd: ensure last transition time for conditions (b39487a) vd: fix panic if pvc not found (#349) (fd4b0af) vd: remove pv protection (aa489c4) vd: set validator warnings instead of errors (b173b08) vm-route-forge: add check to ensure VM host node is identified (#356) (4077584) vmbda: fix sa rules (9367162) vmclass: revert last transition time to condition builder (db3f272) vm: fix panic with nil labelselector (#355) (8df6c59) vm: impl delete method for subresource virtualmachine on apiserver (#334) (39c7d65) vm: sync labels and annos with empty value (#322) (0353618) Signed-off-by: Valeriy Khorunzhin <[email protected]>
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.
Description
Add the ebpf route watcher.
Insert ebpf hooks to run in kernel space before executing the fib_table_insert and fib_table_delete system calls and generate a route change event and save it on the FIFO map.
Our watcher in the user space will read and delete events from the bpf map. Thanks to these events, he will be able to identify the virtual machines that need to be queued for route synchronization.
Why do we need it, and what problem does it solve?
The netlink.RouteSubscribe consumes too much processor resources. We need an alternative way to receive route change events.
What is the expected result?
Checklist