Enhancing CRI-O With CDI: Streamlining Device Integration in Kubernetes
Talkat KubeCon + CloudNativeCon Europe 2025 · on Wednesday, 2025-04-02· at 14:30· Level 3 | ICC Capital Suite 14-16·
summary
CRI-O reads CDI spec files to convert vendor device descriptions into concrete container changes: it reads /etc/cdi and /run/cdi, locates fully qualified device names passed by kubelet, and modifies OCI runtime spec (mounts, /dev nodes, env and OCI hooks) on the fly without restart. Device plugins or DRA return CDI names; a demo uses four A100 GPUs and shows resource claims creating and removing CDI specs dynamically. Defaults are configurable and vendors (e.g., Nvidia) generate the CDI files and hooks that make complex devices usable inside containers.
AI-written summary · about
chapters (7)
- 0:00CRI-O and CDI intro
- 1:53CRI-O as Kubernetes runtime
- 3:19CDI fundamentals
- 6:55CDI with CRI-O for devices
- 10:47CDI benefits in CRI-O
- 13:36Live demo: NVIDIA GPUs in CRI-O
- 17:56Q&A: GPU fractions
related talks
45mNRI: Extending Containerd And CRI-O With Common Plugins
38mIntroduction to CRI-O
31mCRI-O: The Runtime Control Room
33mCRI-O Still Loves Kubernetes
29mCRI-O: All the Runtime Kubernetes Needs, and Nothing More
37mCRI-O: Under the Hood
46mCRI-O: All the Runtime Kubernetes need
28mCNI, CRI, and OCI - Oh My! [I]
