Add optional controller_type and worker_type vars on GCP

* Remove optional machine_type variable on Google Cloud
* Use controller_type and worker_type instead
This commit is contained in:
Dalton Hubble
2018-03-25 22:11:18 -07:00
parent 8d3d4220fd
commit fdb543e834
5 changed files with 19 additions and 9 deletions

View File

@ -249,8 +249,8 @@ Reference the DNS zone id with `"${aws_route53_zone.zone-for-clusters.zone_id}"`
|:-----|:------------|:--------|:--------|
| controller_count | Number of controllers (i.e. masters) | 1 | 1 |
| worker_count | Number of workers | 1 | 3 |
| controller_type | EC2 instance type for controllers | "t2.small" | "t2.medium" |
| worker_type | EC2 instance type for workers | "t2.small" | "t2.medium" |
| controller_type | EC2 instance type for controllers | "t2.small" | See below |
| worker_type | EC2 instance type for workers | "t2.small" | See below |
| os_channel | Container Linux AMI channel | stable | stable, beta, alpha |
| disk_size | Size of the EBS volume in GB | "40" | "100" |
| controller_clc_snippets | Controller Container Linux Config snippets | [] | |

View File

@ -254,7 +254,8 @@ resource "google_dns_managed_zone" "zone-for-clusters" {
|:-----|:------------|:--------|:--------|
| controller_count | Number of controllers (i.e. masters) | 1 | 1 |
| worker_count | Number of workers | 1 | 3 |
| machine_type | Machine type for compute instances | "n1-standard-1" | See below |
| controller_type | Machine type for controllers | "n1-standard-1" | See below |
| worker_type | Machine type for workers | "n1-standard-1" | See below |
| os_image | Container Linux image for compute instances | "coreos-stable" | "coreos-stable-1632-3-0-v20180215" |
| disk_size | Size of the disk in GB | 40 | 100 |
| worker_preemptible | If enabled, Compute Engine will terminate workers randomly within 24 hours | false | true |