Allow Google accelerators (i.e. GPUs) on workers

This commit is contained in:
Dalton Hubble
2018-03-02 17:26:51 -08:00
parent 6c5e287c29
commit 2592a0aad4
4 changed files with 22 additions and 2 deletions

View File

@@ -77,3 +77,17 @@ variable "cluster_domain_suffix" {
type = "string"
default = "cluster.local"
}
# unofficial, undocumented, unsupported, temporary
variable "accelerator_type" {
type = "string"
default = ""
description = "Google Compute Engine accelerator type (e.g. nvidia-tesla-k80, see gcloud compute accelerator-types list)"
}
variable "accelerator_count" {
type = "string"
default = "0"
description = "Number of compute engine accelerators"
}