Repository navigation
nvml-mock takes encoder and FBC sessions, GPU operation mode and multi-GPU boards from the profile, and serves nvmlDeviceGetGpuFabricInfo_v4 with per-type fabric cliques on a 615 or newer driver. The node agent adds opt-in NUMA simulation for GPU, CPU and memory placement. The mokka-crds chart can declare NIC hardware as data (SNICProfile, NIC slots), though nothing reads it yet. mokka-capture gets per-command help and writes fabric cliques into profiles. The GPU Operator pin moves to v26.7.3, and dependency updates fix GO-2026-6860 and CVE-2026-116591.
Upgrading: helm upgrade to chart 0.8.0 as shown below. Read the one Breaking: entry first: SGPURackProfile no longer accepts spec.node.topology.network, so remove it from your rack profiles before you upgrade mokka-crds. NUMA simulation is off unless you turn it on.
Artifacts
ghcr.io/nvidia/nvml-mock:0.8.0(sha256:ae8703cd28dc888aaa1283b58635c11164f23c877077bca3485b8a45f7486dd5) andghcr.io/nvidia/mokka-control-plane:0.8.0(sha256:ee6dbfbd920353dcbb87501d11fe56d354f3f0fbe0e12ab15e9a5d3f16d33a7b): linux/amd64 and linux/arm64, signed with cosign (keyless), with SPDX SBOM attestationsoci://ghcr.io/nvidia/k8s-test-infra/chart/nvml-mock(sha256:d63409b2a743c1d4a2d00e9c5940e2119dba25ffe5c29c8aaa5db841e0bec2cf) andoci://ghcr.io/nvidia/k8s-test-infra/chart/mokka-crds(sha256:952a4cdab0193b530db66eddbaffff08f8394fc01ec7b01979c4dd75b9dc3713), version 0.8.0, signed with cosign
helm upgrade --install nvml-mock oci://ghcr.io/nvidia/k8s-test-infra/chart/nvml-mock \
--version 0.8.0 -n mokka --create-namespacecosign verify ghcr.io/nvidia/nvml-mock:0.8.0 \
--certificate-identity https://github.com/NVIDIA/k8s-test-infra/.github/workflows/nvml-mock-publish.yaml@refs/tags/v0.8.0 \
--certificate-oidc-issuer https://token.actions.githubusercontent.comThis tag moves nvml-mock:latest and both images' 0.8 tags to 0.8.0. mokka-control-plane:latest follows main builds.
Changelog
Added
- nvml-mock: encoder and FBC sessions, encoder utilization and capacity, and GPU operation mode now come from the profile instead of fixed values, and a new board_id field puts GPUs on a shared board, which nvmlDeviceGetBoardId, nvmlDeviceOnSameBoard and nvmlDeviceGetMultiGpuBoard report; see the configuration reference. (#1049)
- node-agent: add opt-in NUMA simulation for GPU, CPU, and memory allocation. Reapply CPU, memory, or GPU placement changes, restore the original setup when disabled, and reapply after reboot; memory locality is simulated through NRI. (#1148)
- nvml-mock:
nvmlDeviceGetGpuFabricInfo_v4reports per-type fabric cliques on a615or newer driver; see Fabric Cliques. (#1203) - A
--hamiTilt consumer that installs HAMi 2.11.0 and packs two pods onto one mock GPU, each capped by its ownnvidia.com/gpumem, with ahami-smoketrigger that checks the path end to end. The HAMi guide walks through the same setup from published artifacts. - helm: the
mokka-crdschart adds theSNICProfileCRD, NIC slots andsoftware.rdmainSGPURackProfile, andnicOverridesinSGPUInventory, which declare NIC hardware as data (MEP-0016); nothing reads them yet. (#1266)
Changed
- mokka-capture:
mokka-capture <command> --helplists that command's own flags and arguments, a bad invocation prints the reason and that help on standard error, and flags may follow the arguments; flag names, defaults and exit codes are unchanged. - mokka-capture:
profilewrites thefabric.cliquesa capture reports throughnvmlDeviceGetGpuFabricInfo_v4, anddiff smino longer compares clique IDs, which the fabric manager assigns; see mokka-capture. - helm: the GPU Operator chart that Tilt, CI and the guides install moves from v26.3.3 to v26.7.3, whose operands start on the mock; v26.7.1 and v26.7.2 still hang in toolkit-validation. (#911)
- observability: the Mokka GPU dashboard and the
inject-thermalandinject-xidscenarios read the metric names and units that dcgm-exporter 4.9.0 serves (for exampleDCGM_FI_DEV_GPU_TEMP_CELSIUS), the version GPU Operator v26.7.3 deploys.
Removed
- helm: Breaking:
SGPURackProfiledropsspec.node.topology.network, which nothing read; remove it from rack profiles, and declare NICs as NIC slots intopology.nicsinstead. (#1266)
Fixed
- nvml-mock: Host Max PCIe generation reports N/A unless explicitly configured; GB300 reports Gen4 independently of its Gen6 device maximum, and VRNVL72 reports Gen6. (#692)
- nv-sentinel demo: keep idle mock-GPU NVLink suppressions so recovery is not blocked by mock-data warnings. (#1154)
- nvml-mock:
nvmlDeviceGetMemoryInfo(v1) reported 0 MiB used on an idle GPU, leaving free plus used short of the total, andnvmlDeviceGetMemoryInfo_v2reported the parent GPU's reserved memory on a MIG device. - helm: the NRI plugin container no longer fails to start with
error reading from server: EOFwhile the node agent restarts containerd on a new node; NRI now starts after that restart.
Security
- build: nvml-mock-ctl and the control plane move to golang.org/x/net v0.63.0, fixing GO-2026-6860 (excessive CPU when parsing HTML with many short text runs); klauspost/compress moves to v1.20.5, fixing CVE-2026-116591 (zstd decoder panic).
Full diff: v0.7.0...v0.8.0