-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
enable CDI on containerd #3530
enable CDI on containerd #3530
Conversation
/kind feature |
Yes, this is all that is required. Though the specification of the dirs is unnecessary, as the ones you provide are the defaults. See the following for how we have been enabling this in one of our repos via |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aojea, klueska The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
@@ -40,3 +40,6 @@ version = 2 | |||
tolerate_missing_hugepages_controller = true | |||
# restrict_oom_score_adj needs to be true when running inside UserNS (rootless) | |||
restrict_oom_score_adj = false | |||
# enable CDI https://github.com/cncf-tags/container-device-interface | |||
enable_cdi = true |
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.
why is this default false? 👀
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.
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.
I see, is a 2.0 thing containerd/containerd@c8e8a09
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.
correct
it will be part of 2.0 containerd |
I think this is what we just need for supporting CDI devices in kind
I still need to test it