Installation of nvidia device plugin

i have installing device plugin from sctrach by following these steps because i got not find any plugin deamonsets.

Step 1) deleting namespace

C:\Users\Locadm_mehmwt.kube>kubectl delete namespace nvidia-device-plugin
namespace “nvidia-device-plugin” deleted

Step 2) deploying plugin again with helm by also Passing configuration to the plugin via a ConfigMap
C:\Users\Locadm_mehmwt.kube>helm upgrade -i nvdp nvdp/nvidia-device-plugin --version=0.17.0 --namespace nvidia-device-plugin --create-namespace --set-file config.map.config=C:\Users\Locadm_mehmwt\.kube\config-test.yaml
Release “nvdp” does not exist. Installing it now.
NAME: nvdp
LAST DEPLOYED: Tue Feb 11 12:46:25 2025
NAMESPACE: nvidia-device-plugin
STATUS: deployed
REVISION: 1
TEST SUITE: None

here is code of config-test.yaml file below:
version: v1
flags:
migStrategy: “mixed” # Only change from config0.yaml
failOnInitError: true
nvidiaDriverRoot: “/”
plugin:
passDeviceSpecs: false
deviceListStrategy: envvar
deviceIDStrategy: uuid

Step 3) now i checked the pods of nvidia device plugin it runs into crashloopbackoff
C:\Users\Locadm_mehmwt.kube>kubectl get pods
NAME READY STATUS RESTARTS AGE
nvdp-nvidia-device-plugin-gx2m8 1/2 CrashLoopBackOff 4 (59s ago) 2m42s
nvdp-nvidia-device-plugin-qww99 1/2 CrashLoopBackOff 4 (70s ago) 2m42s
nvdp-nvidia-device-plugin-rx5vs 1/2 CrashLoopBackOff 4 (74s ago) 2m42s

Step 4) when i checked the logs of one of pod it shows
C:\Users\Locadm_mehmwt.kube>kubectl logs nvdp-nvidia-device-plugin-gx2m8
Defaulted container “nvidia-device-plugin-sidecar” out of: nvidia-device-plugin-sidecar, nvidia-device-plugin-ctr, nvidia-device-plugin-init (init)
W0211 11:46:28.127126 19 client_config.go:659] Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work.
I0211 11:46:28.129530 19 main.go:246] Waiting for change to ‘nvidia.com/device-plugin.config’ label
I0211 11:46:28.134866 19 main.go:248] Label change detected: nvidia.com/device-plugin.config=config
I0211 11:46:28.135083 19 main.go:304] Updating to config: config
I0211 11:46:28.135218 19 main.go:312] Already configured. Skipping update…
I0211 11:46:28.135260 19 main.go:246] Waiting for change to ‘nvidia.com/device-plugin.config’ label

there are some issues related to init and labels as well

plugins: failed to construct resource managers: invalid device discovery strategy

please help me rectify the issues