Skip to main content
Version: Next

HAMi DRA for Kubernetes

Introduction​

HAMi has provided support for K8s DRA (Dynamic Resource Allocation). By installing the HAMi DRA webhook in your cluster, you can get a consistent user experience in DRA mode that matches the traditional usage.

Prerequisites​

  • Kubernetes version >= 1.34 with DRA Consumable Capacity featuregate enabled

Installation​

You can use the following commands to add the HAMi chart repository and update dependencies:

helm repo add hami-charts https://project-hami.github.io/HAMi/
helm dependency build

Then install with the following command:

helm install hami hami-charts/hami --set dra.enable=true -n hami-system

Note: DRA mode is not compatible with traditional mode. Do not enable both at the same time.

Supported Devices​

The implementation of DRA functionality requires support from the corresponding device's DRA Driver. Currently supported devices include:

Please refer to the corresponding page to install the device driver.

Monitoring​

HAMi DRA provides the same monitoring capabilities as the traditional model. When installing HAMi DRA, the monitoring service will be enabled by default. You can expose the monitoring service to the local environment via NodePort or add Prometheus collection to access monitoring metrics.

You can view the monitoring metrics provided by HAMi DRA here.

For more information, please refer to HAMi DRA monitor