2
0
Эх сурвалжийг харах

Merge pull request #2231 from saweber/saweber/SELFHOST-891/gcp-gpu-types

add a2ultragpu gcp instance type
Cliff Colvin 2 жил өмнө
parent
commit
a14b85153a

+ 1 - 0
pkg/cloud/gcp/provider.go

@@ -794,6 +794,7 @@ func (gcp *GCP) parsePage(r io.Reader, inputKeys map[string]models.Key, pvKeys m
 					case "a2":
 					case "a2":
 						candidateKeys = append(candidateKeys, region+","+"a2highgpu"+","+usageType)
 						candidateKeys = append(candidateKeys, region+","+"a2highgpu"+","+usageType)
 						candidateKeys = append(candidateKeys, region+","+"a2megagpu"+","+usageType)
 						candidateKeys = append(candidateKeys, region+","+"a2megagpu"+","+usageType)
+						candidateKeys = append(candidateKeys, region+","+"a2ultragpu"+","+usageType)
 					default:
 					default:
 						candidateKey := region + "," + instanceType + "," + usageType
 						candidateKey := region + "," + instanceType + "," + usageType
 						candidateKeys = append(candidateKeys, candidateKey)
 						candidateKeys = append(candidateKeys, candidateKey)