-
Notifications
You must be signed in to change notification settings - Fork 1.1k
server: add support for CDI device injection. #5571
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
Conversation
|
Hi @klihub. Thanks for your PR. I'm waiting for a cri-o member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Codecov Report
@@ Coverage Diff @@
## main #5571 +/- ##
==========================================
+ Coverage 43.18% 43.19% +0.01%
==========================================
Files 123 123
Lines 12267 12265 -2
==========================================
+ Hits 5297 5298 +1
+ Misses 6462 6459 -3
Partials 508 508 |
90e82eb to
3821927
Compare
|
/ok-to-test |
saschagrunert
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few nits, generally LGTM :)
08c6789 to
b73ff38
Compare
fidencio
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @klihub!
|
a rebase will fix ci @klihub :) |
3e4fd2c to
a09fae1
Compare
|
/test integration_crun |
|
/test integration_cgroupv2 |
facecd3 to
3298336
Compare
|
/test integration_cgroupv2 |
1 similar comment
|
/test integration_cgroupv2 |
|
/test integration_fedora |
|
/test integration_cgroupv2 |
2 similar comments
|
/test integration_cgroupv2 |
|
/test integration_cgroupv2 |
Signed-off-by: Krisztian Litkey <[email protected]>
Extract the names of requested CDI devices and update the OCI Spec according to the corresponding CDI device specifications. CDI devices are requested using container annotations in the cdi.k8s.io namespace. Once CRI gains dedicated fields for CDI injection the snippet for extracting CDI names will need an update. Signed-off-by: Krisztian Litkey <[email protected]>
Signed-off-by: Krisztian Litkey <[email protected]>
Signed-off-by: Krisztian Litkey <[email protected]>
|
/test integration_cgroupv2 |
3298336 to
1281651
Compare
|
/test integration_cgroupv2 |
1 similar comment
|
/test integration_cgroupv2 |
|
/retest-required |
1 similar comment
|
/retest-required |
|
/test integration_cgroupv2 |
|
/approve thanks @klihub! @cri-o/cri-o-maintainers PTAL |
saschagrunert
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
Great work @klihub!
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: haircommander, klihub, saschagrunert The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
What type of PR is this?
/kind feature
What this PR does / why we need it:
This PR adds support for injecting CDI devices into containers.
Which issue(s) this PR fixes:
None
Special notes for your reviewer:
This PR depends on a pending CDI PR. There is a related
go.modrewrite rule among the commits here, to allow the tree to be compile and tested. Once that CDI PR is merged, the repo diverting rewrite will be removed from this PR.Does this PR introduce a user-facing change?