packaged by Chainguard
Contact our team to test out this image for free. Please also indicate any other images you would like to evaluate.
Kubernetes Dynamic Resource Allocation (DRA) driver for NVIDIA GPUs and multi-node NVLink ComputeDomains (IMEX)
Chainguard Containers are regularly-updated, secure-by-default container images.
For those with access, this container image is available on cgr.dev:
Be sure to replace the ORGANIZATION placeholder with the name used for your organization's private repository within the Chainguard Registry.
Chainguard's dra-driver-nvidia-gpu image is a drop-in replacement for the upstream image published at registry.k8s.io/dra-driver-nvidia/dra-driver-nvidia-gpu. Like upstream, a single image ships every component of the driver, and the Helm chart selects which one each pod runs:
gpu-kubelet-plugin and compute-domain-kubelet-plugin, the per-node kubelet pluginscompute-domain-controller and compute-domain-daemon, which manage ComputeDomains and their IMEX daemonswebhook, the optional validating admission webhookkubelet-plugin-prestart.sh, the init container that checks for the host GPU drivernvidia-cdi-hook and the templates under /templatesThe image keeps the upstream entrypoint (/busybox/sh), working directory, NVIDIA_* environment variables, and runs as root, because the kubelet plugins need access to the host driver and kubelet plugin directories. It is built on Wolfi and adds the mount and umount utilities the kubelet plugins call at runtime.
A FIPS variant is available as dra-driver-nvidia-gpu-fips.
DynamicResourceAllocation feature gate and resource.k8s.io API groups enabled before 1.34).nvidia.com/gpu.clique labels from GPU Feature Discovery, and the host nvidia-imex.service disabled and masked, because the driver runs its own IMEX daemons.See the upstream prerequisites for cluster requirements.
Create a values file that points the chart at the Chainguard image. This example enables the ComputeDomain resources only; see Configuration for GPU allocation:
Install the upstream chart into its own namespace:
Confirm that the controller is running:
Create a ComputeDomain. The controller adds its finalizer, renders a ResourceClaimTemplate for the workload channel, and starts an IMEX daemon DaemonSet that uses this same image:
Check the domain status and the rendered claim template:
The status reports NotReady until the IMEX daemons are running on the domain's nodes.
To allocate GPUs as well as ComputeDomains, the chart requires an explicit acknowledgement that the standard NVIDIA device plugin is not deployed on the same nodes. When the NVIDIA GPU Operator provides the driver, also point the chart at the driver root it mounts on the host:
If the kubelet plugin pods stay in Init, read the logs of their init-container container. The kubelet-plugin-prestart.sh check reports where it looked for nvidia-smi and libnvidia-ml.so.1, and suggests a nvidiaDriverRoot value when the driver is found elsewhere.
Chainguard's free tier of Starter container images are built with Wolfi, our minimal Linux undistro.
All other Chainguard Containers are built with Chainguard OS, Chainguard's minimal Linux operating system designed to produce container images that meet the requirements of a more secure software supply chain.
The main features of Chainguard Containers include:
For cases where you need container images with shells and package managers to build or debug, most Chainguard Containers come paired with a development, or -dev, variant.
In all other cases, including Chainguard Containers tagged as :latest or with a specific version number, the container images include only an open-source application and its runtime dependencies. These minimal container images typically do not contain a shell or package manager.
Although the -dev container image variants have similar security features as their more minimal versions, they include additional software that is typically not necessary in production environments. We recommend using multi-stage builds to copy artifacts from the -dev variant into a more minimal production image.
To improve security, Chainguard Containers include only essential dependencies. Need more packages? Chainguard customers can use Custom Assembly to add packages, either through the Console, chainctl, or API.
To use Custom Assembly in the Chainguard Console: navigate to the image you'd like to customize in your Organization's list of images, and click on the Customize image button at the top of the page.
Refer to our Chainguard Containers documentation on Chainguard Academy. Chainguard also offers VMs and Libraries — contact us for access.
This software listing is packaged by Chainguard. The trademarks set forth in this offering are owned by their respective companies, and use of them does not imply any affiliation, sponsorship, or endorsement by such companies.
Chainguard's container images contain software packages that are direct or transitive dependencies. The following licenses were found in the "latest" tag of this image:
LGPL-2.1
libselinux-1.0
For a complete list of licenses, please refer to this Image's SBOM.
Software license agreementChainguard Containers are SLSA Level 3 compliant with detailed metadata and documentation about how it was built. We generate build provenance and a Software Bill of Materials (SBOM) for each release, with complete visibility into the software supply chain.
SLSA compliance at ChainguardThis image helps reduce time and effort in establishing PCI DSS 4.0 compliance with low-to-no CVEs.
PCI DSS at ChainguardA FIPS validated version of this image is available for FedRAMP compliance. STIG is included with FIPS image.