We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e73e008 commit 2792295Copy full SHA for 2792295
rules/utils.go
@@ -9,6 +9,7 @@ import (
9
)
10
11
var validMachineTypes = map[string]bool{
12
+ // Regular machine types: https://cloud.google.com/compute/docs/machine-types
13
"e2-standard-2": true,
14
"e2-standard-4": true,
15
"e2-standard-8": true,
@@ -121,6 +122,13 @@ var validMachineTypes = map[string]bool{
121
122
"e2-medium": true,
123
"f1-micro": true,
124
"g1-small": true,
125
+
126
+ // A100 machine types: https://cloud.google.com/compute/docs/gpus
127
+ "a2-highgpu-1g": true,
128
+ "a2-highgpu-2g": true,
129
+ "a2-highgpu-4g": true,
130
+ "a2-highgpu-8g": true,
131
+ "a2-megagpu-16g": true,
132
}
133
134
func isCustomType(machineType string) bool {
0 commit comments