fix: register k8s cluster should selected nvidia vendor by default

This commit is contained in:
Yuxing Deng
2026-06-11 23:55:40 +08:00
parent b985dcee63
commit 7b18a92388
@@ -93,9 +93,8 @@ const SelectVendor: React.FC<AddWorkerStepProps> = ({ disabled }) => {
}; };
useEffect(() => { useEffect(() => {
// K8s clusters allow selecting none (CPU-only workers), so skip default // Default to NVIDIA for every provider, including K8s. Users can still
// selection. Other providers still default to NVIDIA. // deselect it (e.g. for CPU-only workers) or add more vendors on K8s.
if (multiCapable) return;
handleSelect(GPUDriverMap.NVIDIA, { handleSelect(GPUDriverMap.NVIDIA, {
label: 'NVIDIA', label: 'NVIDIA',
hiddenTitle: true, hiddenTitle: true,