Add support for worker pools on google-cloud

* Set defaults for internal worker module's count,
machine_type, and os_image
* Allow "pools" of homogeneous workers to be created
using the google-cloud/kubernetes/workers module
This commit is contained in:
Dalton Hubble
2018-02-26 14:06:18 -08:00
parent 06d40c5b44
commit 160ae34e71
8 changed files with 100 additions and 13 deletions

View File

@ -17,6 +17,7 @@ variable "network" {
variable "count" {
type = "string"
default = "1"
description = "Number of worker compute instances the instance group should manage"
}
@ -27,11 +28,13 @@ variable "region" {
variable "machine_type" {
type = "string"
default = "n1-standard-1"
description = "Machine type for compute instances (e.g. gcloud compute machine-types list)"
}
variable "os_image" {
type = "string"
default = "coreos-stable"
description = "OS image from which to initialize the disk (e.g. gcloud compute images list)"
}