Skip to content

Commit

Permalink
up node_count to 5 and 3
Browse files Browse the repository at this point in the history
  • Loading branch information
im2nguyen committed Apr 24, 2020
1 parent 9352474 commit 5ef9286
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions gke.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ resource "google_container_cluster" "engineering" {
}

resource "google_container_node_pool" "engineering_preemptible_nodes" {
name = "${var.cluster_name}-node-pool"
cluster = google_container_cluster.engineering.name
location = data.google_compute_zones.available.names.0
name = "${var.cluster_name}-node-pool"
cluster = google_container_cluster.engineering.name
location = data.google_compute_zones.available.names.0

node_count = var.enable_consul_and_vault ? 5 : 3

node_count = var.enable_consul_and_vault ? 3 : 1

node_config {
preemptible = true
machine_type = "n1-standard-1"
Expand All @@ -42,4 +42,4 @@ resource "google_container_node_pool" "engineering_preemptible_nodes" {
"https://www.googleapis.com/auth/monitoring",
]
}
}
}

0 comments on commit 5ef9286

Please sign in to comment.