fix: set default GPU vendors list (#7320)
The change introduced by kubeflow/kubeflow#6736 removed the default GPU vendors list, which causes an issue when trying to select a vendor from the dropdown menu if the vendors list is not configured. This commit can be reverted if proper documentation is provided for users/distributions to configure the dropdown menu. Fixes #7273
This commit is contained in:
Родитель
466d675080
Коммит
eaacab6863
|
@ -129,12 +129,11 @@ spawnerFormDefaults:
|
|||
# the list of available vendors in the dropdown
|
||||
# `limitsKey` - what will be set as the actual limit
|
||||
# `uiName` - what will be displayed in the dropdown UI
|
||||
vendors: []
|
||||
#vendors:
|
||||
# - limitsKey: "nvidia.com/gpu"
|
||||
# uiName: "NVIDIA"
|
||||
# - limitsKey: "amd.com/gpu"
|
||||
# uiName: "AMD"
|
||||
vendors:
|
||||
- limitsKey: "nvidia.com/gpu"
|
||||
uiName: "NVIDIA"
|
||||
- limitsKey: "amd.com/gpu"
|
||||
uiName: "AMD"
|
||||
|
||||
# the default value of the limit
|
||||
# (possible values: "none", "1", "2", "4", "8")
|
||||
|
@ -304,4 +303,4 @@ spawnerFormDefaults:
|
|||
################################################################
|
||||
environment:
|
||||
readOnly: false
|
||||
value: {}
|
||||
value: {}
|
||||
|
|
|
@ -129,12 +129,11 @@ spawnerFormDefaults:
|
|||
# the list of available vendors in the dropdown
|
||||
# `limitsKey` - what will be set as the actual limit
|
||||
# `uiName` - what will be displayed in the dropdown UI
|
||||
vendors: []
|
||||
#vendors:
|
||||
# - limitsKey: "nvidia.com/gpu"
|
||||
# uiName: "NVIDIA"
|
||||
# - limitsKey: "amd.com/gpu"
|
||||
# uiName: "AMD"
|
||||
vendors:
|
||||
- limitsKey: "nvidia.com/gpu"
|
||||
uiName: "NVIDIA"
|
||||
- limitsKey: "amd.com/gpu"
|
||||
uiName: "AMD"
|
||||
|
||||
# the default value of the limit
|
||||
# (possible values: "none", "1", "2", "4", "8")
|
||||
|
@ -304,4 +303,4 @@ spawnerFormDefaults:
|
|||
################################################################
|
||||
environment:
|
||||
readOnly: false
|
||||
value: {}
|
||||
value: {}
|
||||
|
|
Загрузка…
Ссылка в новой задаче