Kubernetes configuration#
When deploying AMD Device Metrics Exporter on Kubernetes, a ConfigMap
is deployed in the exporter namespace.
Configuration parameters#
ServerPort
: this field is ignored when Device Metrics Exporter is deployed by the GPU Operator to avoid conflicts with the service node port config.GPUConfig
:Fields: An array of strings specifying what metrics field to be exported.
Labels:
CARD_MODEL
,GPU_UUID
andSERIAL_NUMBER
are always set and cannot be removed. Labels supported are available in the provided exampleconfigmap.yml
.
Setting custom values#
To use a custom configuration when deploying the Metrics Exporter:
Create a
ConfigMap
based on the provided example configmap.ymlChange the
configMap
property invalues.yaml
toconfigmap.yml
Run
helm install
:
helm repo add exporter https://rocm.github.io/device-metrics-exporter
helm repo update
helm install exporter exporter/device-metrics-exporter-charts --namespace kube-amd-gpu --create-namespace --version=v1.2.0 -f values.yaml
Device Metrics Exporter polls for configuration changes every minute, so updates take effect without container restarts.