You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// guestAccelerators slice can not store more than 1 element.
105
100
// More than one accelerator included in request results in error -> googleapi: Error 413: Value for field 'resource.guestAccelerators' is too large: maximum size 1 element(s); actual size 2., fieldSizeTooLarge
// a2 family machine - has fixed type and count of GPUs
150
-
returnr.checkQuota(a2MachineFamily[machineType])
151
-
casecontainsString(n1MachineFamily, machineType):
152
-
// n1 family machine
153
-
returnr.checkQuota(0)
154
-
default:
155
-
// any other machine type
156
-
returnmachinecontroller.InvalidMachineConfiguration(fmt.Sprintf("MachineType %s is not available in the zone %s.", r.providerSpec.MachineType, r.providerSpec.Zone))
returnmachinecontroller.InvalidMachineConfiguration(fmt.Sprintf("MachineType %s is not available in the zone %s.", r.providerSpec.MachineType, r.providerSpec.Zone))
158
158
}
159
159
160
160
// Create creates machine if and only if machine exists, handled by cluster-api
0 commit comments