-
Notifications
You must be signed in to change notification settings - Fork 14
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
WIP: Initial pass at BpfApplication CRD update for load/attach split #347
base: main
Are you sure you want to change the base?
Conversation
e352df4
to
0531a5f
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #347 +/- ##
==========================================
- Coverage 27.66% 27.16% -0.51%
==========================================
Files 87 87
Lines 7503 7746 +243
==========================================
+ Hits 2076 2104 +28
- Misses 5227 5433 +206
- Partials 200 209 +9
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
113089c
to
60d0115
Compare
All of the examples will need to be updated with the new CRD format before the Kubernetes integration tests will pass. |
@anfredette, this pull request is now in conflict and requires a rebase. |
The main change is that a separate optional list of attach points is included with each program (except for fentry and fexit programs that just include an attach boolean). Otherwise, the info is all the same. The list of attach points may be updated any time after the programs are loaded, which allows the program to be loaded before any attachments are made, and allows attachments to be added after the program has been loaded. Existing controllers have been updated to work with new CRDs, but they only work with a single attach point per program. I've updated the bpfman.io_v1alpha1_bpfapplication.yaml, but the others still have the old format and won't work with the current code. TODO: Add a per-node CRD (BpfProgram analog) to maintain the per-node state for the BpfApplication. Signed-off-by: Andre Fredette <[email protected]>
This is currently incomplete. Signed-off-by: Andre Fredette <[email protected]>
083793b
to
5dce708
Compare
The main change is that a separate optional list of attach points is
included with each program (except for fentry and fexit programs that just
include an
attach
boolean). Otherwise, the info is all the same.The list of attach points may be updated any time after the programs
are loaded, which allows the program to be loaded before any attachments are
made, and allows attachments to be added after the program has been loaded.
Existing controllers have been updated to work with new CRDs, but they only
work with a single attach point per program.
I've updated the bpfman.io_v1alpha1_bpfapplication.yaml, but the others still have
the old format and won't work with the current code.
TODO: Add a per-node CRD (BpfProgram analog) to maintain the per-node
state for the BpfApplication.