NVIDIA / deepops

Tools for building GPU clusters
BSD 3-Clause "New" or "Revised" License
1.25k stars 326 forks source link

Fix non-GPU Operator installs by allowing installation into default namespace #1264

Closed supertetelman closed 1 year ago

supertetelman commented 1 year ago

In the latest updates to the device plugin and GFD they introduced a new flag that causes the installation to fail if you install it into the default namespace.

By default we install these into default, as the more recommended and supported path is installing the full GPU Operator into the gpu operator namespace.

Rather than changing the behavior of this existing code and moving around where things are installed, I am fixing this legacy non-GPU Operator code path by setting "allowDefaultNamespace" to true. This will allow users to disable the full GPU Operator and only get the device plugin and GFD, which is the less supported path and not recommended.