Merge pull request #11018 from unguiculus/feature/additional_zones

provider/google: [GKE] Allow additional zones to be configured
This commit is contained in:
Dana Hoffman 2017-01-18 10:10:13 -08:00 committed by GitHub
commit 2f1f73969f

View File

@ -20,6 +20,11 @@ resource "google_container_cluster" "primary" {
zone = "us-central1-a"
initial_node_count = 3
additional_zones = [
"us-central1-b",
"us-central1-c"
]
master_auth {
username = "mr.yoda"
password = "adoy.rm"
@ -47,9 +52,13 @@ resource "google_container_cluster" "primary" {
* `name` - (Required) The name of the cluster, unique within the project and
zone.
* `zone` - (Required) The zone that all resources should be created in.
* `zone` - (Required) The zone that the master and the number of nodes specified
in `initial_node_count` should be created in.
- - -
* `additional_zones` - (Optional) If additional zones are configured, the number
of nodes specified in `initial_node_count` is created in all specified zones.
* `addons_config` - (Optional) The configuration for addons supported by Google
Container Engine