Skip to main content
Version: Next

Dynamic Resource Allocation

Introduction

HAMi has supported K8s DRA (Dynamic Resource Allocation) on NVIDIA devices. By installing hami-k8s-dra-driver, your cluster scheduler can discover Nvidia GPU devices on nodes.

Prerequisites

  • The underlying container runtime (e.g., containerd or CRI-O) has CDI enabled

Installation

The Nvidia DRA driver is built into HAMi and does not need to be installed separately. You only need to specify the --set hami-dra-webhook.drivers.nvidia.enabled=true parameter when installing HAMi DRA. For more information, please refer to Installing Nvidia DRA driver

Verify Installation

To verify the installation is successful, use the following command to view GPU devices:

kubectl get resourceslices.resource.k8s.io -A