File tree 2 files changed +13
-0
lines changed
2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -235,6 +235,9 @@ The `node_config` block supports:
235
235
* ` disk_size_gb ` - (Optional) Size of the disk attached to each node, specified
236
236
in GB. The smallest allowed disk size is 10GB. Defaults to 100GB.
237
237
238
+ * ` guest_accelerator ` - (Optional) List of the type and count of accelerator cards attached to the instance.
239
+ Structure documented below.
240
+
238
241
* ` image_type ` - (Optional) The image type to use for this node.
239
242
240
243
* ` labels ` - (Optional) The Kubernetes labels (key/value pairs) to be applied to each node.
@@ -276,6 +279,12 @@ The `node_config` block supports:
276
279
* ` tags ` - (Optional) The list of instance tags applied to all nodes. Tags are used to identify
277
280
valid sources or targets for network firewalls.
278
281
282
+ The ` guest_accelerator ` block supports:
283
+
284
+ * ` type ` (Required) - The accelerator type resource to expose to this instance. E.g. ` nvidia-tesla-k80 ` .
285
+
286
+ * ` count ` (Required) - The number of the guest accelerator cards exposed to this instance.
287
+
279
288
## Attributes Reference
280
289
281
290
In addition to the arguments listed above, the following computed attributes are
Original file line number Diff line number Diff line change @@ -45,6 +45,10 @@ resource "google_container_cluster" "primary" {
45
45
"https://www.googleapis.com/auth/logging.write",
46
46
"https://www.googleapis.com/auth/monitoring",
47
47
]
48
+ guest_accelerator = [{
49
+ type="nvidia-tesla-k80"
50
+ count=1
51
+ }]
48
52
}
49
53
}
50
54
```
You can’t perform that action at this time.
0 commit comments