Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

Standalone nvml-mock Demo

This demo deploys nvml-mock on a local Kind cluster with FGO-style labels enabled. It does not require any external GPU operator -- nvml-mock itself generates the GPU profile ConfigMaps, the fake InfiniBand sysfs tree, and the node labels that downstream consumers expect.

What it does

  1. Creates a Kind cluster (nvml-mock-demo: 1 control-plane, 3 workers).
  2. Builds the nvml-mock:demo container image from the repository root.
  3. Loads the image into the Kind cluster.
  4. Installs the nvml-mock Helm chart into a dedicated nvml-mock-system namespace (override with NAMESPACE=...) with integrations.fakeGpuOperator.enabled=true, an H100 profile, and 8 GPUs per node. The demo sets this namespace as the current context default so the validation helpers resolve pods in it.
  5. Verifies the deployment:

Quick start

./demo.sh

Clean up

# Remove just the release (keeps the cluster):
helm uninstall nvml-mock -n nvml-mock-system

# Or tear down the whole cluster:
kind delete cluster --name nvml-mock-demo