volcano-sh / devices

Device plugins for Volcano, e.g. GPU
Apache License 2.0
103 stars 43 forks source link

The `args` configuration for the `containers` in the `volcano-device-plugin.yaml` is incorrect. #47

Open flyweiyu opened 1 year ago

flyweiyu commented 1 year ago

When I attempted to install the plugin, the pod gave the following error:

flag provided but not defined: -gpu-strategy
Usage of volcano-device-plugin:

I tried modifying the args in volcano-device-plugin.yaml from ["--gpu-strategy=share", "--gpu-memory-factor=1"] to ["---gpu-strategy=share", "---gpu-memory-factor=1"]. However, the error message then became:

flag provided but not defined: ----gpu-strategy
Usage of volcano-device-plugin:

In the end, I had to remove the args to successfully create the pod.