Skip to content

Conversation

@zvonkok
Copy link

@zvonkok zvonkok commented Jan 20, 2026

sandbox-device-plugin: Add /var/run/cdi mount since the DP is now handling CDI spec creation
cc-manager: Remove obsolete CC_CAPABLE_DEVICE_IDS

Signed-off-by: Zvonko Kaiser <zkaiser@nvidia.com>
…dling CDI spec creation

Signed-off-by: Zvonko Kaiser <zkaiser@nvidia.com>
Copy link
Contributor

@rajatchopra rajatchopra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zvonkok zvonkok marked this pull request as ready for review January 23, 2026 18:40
Copilot AI review requested due to automatic review settings January 23, 2026 18:40
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the operand configurations for cc-manager and sandbox-device-plugin to align with updated functionality. The sandbox-device-plugin now handles CDI (Container Device Interface) spec creation internally, requiring access to the CDI specification directory. The cc-manager changes remove a hardcoded device ID list in favor of the dynamic configuration approach already implemented in the operator.

Changes:

  • Added /var/run/cdi volume mount to sandbox-device-plugin for CDI spec management
  • Removed hardcoded CC_CAPABLE_DEVICE_IDS environment variable from cc-manager daemonset template

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
assets/state-sandbox-device-plugin/0500_daemonset.yaml Added cdi-root volume and mount to enable CDI spec creation by the device plugin
assets/state-cc-manager/0500_daemonset.yaml Removed obsolete hardcoded CC_CAPABLE_DEVICE_IDS environment variable (now configured via values.yaml and applied by operator)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

@shivamerla shivamerla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

Copy link
Contributor

@cdesiniotis cdesiniotis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Left one minor comment, will trigger the CI once addressed.

- name: cdi-root
hostPath:
path: /var/run/cdi
type: DirectoryOrCreate
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: let's add the newline back

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants