Commit 83c74495 authored by Olivier Cervello's avatar Olivier Cervello
Browse files

Add node pool to example

No related merge requests found
Showing with 43 additions and 0 deletions
+43 -0
......@@ -43,6 +43,49 @@ module "gke" {
ip_range_pods = "${var.ip_range_pods}"
ip_range_services = "${var.ip_range_services}"
service_account = "${var.compute_engine_service_account}"
node_pools = [
{
name = "pool-01"
min_count = 1
max_count = 2
service_account = "${var.compute_engine_service_account}"
auto_upgrade = true
},
]
node_pools_metadata = {
all = {}
pool-01 = {}
}
node_pools_labels = {
all = {}
pool-01 = {
pool-01-example = "true"
}
}
node_pools_taints = {
all = []
pool-01 = [
{
key = "pool-01-example"
value = "true"
effect = "PREFER_NO_SCHEDULE"
},
]
}
node_pools_tags = {
all = []
pool-01 = [
"pool-01-example",
]
}
}
data "google_client_config" "default" {}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment