-
Notifications
You must be signed in to change notification settings - Fork 215
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
Add ability to enable CDI in containerd. #6014
base: master
Are you sure you want to change the base?
Conversation
The latest Buf updates on your PR. Results from workflow Buf CI / buf (pull_request).
|
@@ -2,6 +2,10 @@ version = 2 | |||
oom_score = -999{{if getHasDataDir .KubeletConfig}} | |||
root = "{{.KubeletConfig.GetContainerDataDir}}"{{- end}} | |||
[plugins."io.containerd.grpc.v1.cri"] | |||
{{- if and ( .GetGpuConfig ) ( .GpuConfig.GetRequiresCdi ) }} |
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.
@abenn135 aks-node-controller isn't currently being used, for this change to immediately take effect you'd want to edit the containerd config template here: https://github.com/Azure/AgentBaker/blob/master/pkg/agent/baker.go#L1392 which AgentBaker then uses o template this variable: https://github.com/Azure/AgentBaker/blob/master/parts/linux/cloud-init/artifacts/cse_cmd.sh#L157
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.
+1 to this. We need this change for GB 200s
I'd also recommend enabling it in an Agentbaker e2e |
Needed to support NVIDIA's DRA plugin, which will be used in tandem with upcoming GPU hardware.
…pact CDI enablement directly.
7ddbf38
to
1567d97
Compare
No changes to cached containers or packages on Windows VHDs |
What type of PR is this?
/kind feature
/kind api-change
What this PR does / why we need it:
This PR adds the ability to enable CDI in containerd. This is needed to support NVIDIA's DRA plugin, which will be used alongside upcoming hardware.
Which issue(s) this PR fixes:
Fixes #
Requirements:
Special notes for your reviewer:
Release note: