NVIDIA Mokka simulates GPU infrastructure on CPU nodes to test Kubernetes stacks
NVIDIA introduced Mokka, an open-source project that simulates GPUs, SuperNICs and switch fabrics on ordinary CPU nodes in Kubernetes. It does not run CUDA kernels; it serves the NVML, sysfs and device-node interfaces from a GPU profile so the GPU Operator…
Why it matters
Teams building device plugins, schedulers or GPU monitoring can test them in CI without real GPUs.
What happened
1 min readNVIDIA introduced Mokka, an open-source project that simulates GPUs, SuperNICs and switch fabrics on ordinary CPU nodes in Kubernetes. It does not run CUDA kernels; it serves the NVML, sysfs and device-node interfaces from a GPU profile so the GPU Operator, DRA drivers and health monitors run unmodified. Combined with the DSX Air simulation platform, teams can rehearse cluster bring-up and failure handling before hardware arrives.
Our analysis
Simulating the interfaces rather than the GPU is a cheap, practical way to catch errors like mis-attributed Xid faults or broken ResourceClaim handling early. Fake device plugins have existed before, but coverage of NVLink domains and fabric topology from NVIDIA itself adds value. The obvious limit is that it tests nothing about real workload behavior or performance. Useful for platform teams and GPU cluster operators rather than application developers.