Skip to content

Commit

Permalink
Set BATCH_SOAK_DURATION default value to 0s
Browse files Browse the repository at this point in the history
  • Loading branch information
ProgEsteves committed Mar 31, 2023
1 parent da89403 commit f3608cc
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion autogen/main/cluster.tf.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ resource "google_container_node_pool" "windows_pools" {
node_pool_soak_duration = lookup(each.value, "node_pool_soak_duration", "3600s")

standard_rollout_policy {
batch_soak_duration = lookup(each.value, "batch_soak_duration", "60s")
batch_soak_duration = lookup(each.value, "batch_soak_duration", "0s")
batch_percentage = lookup(each.value, "batch_percentage", null)
batch_node_count = lookup(each.value, "batch_node_count", null)
}
Expand Down
4 changes: 2 additions & 2 deletions cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ resource "google_container_node_pool" "pools" {
node_pool_soak_duration = lookup(each.value, "node_pool_soak_duration", "3600s")

standard_rollout_policy {
batch_soak_duration = lookup(each.value, "batch_soak_duration", "60s")
batch_soak_duration = lookup(each.value, "batch_soak_duration", "0s")
batch_percentage = lookup(each.value, "batch_percentage", null)
batch_node_count = lookup(each.value, "batch_node_count", null)
}
Expand Down Expand Up @@ -602,7 +602,7 @@ resource "google_container_node_pool" "windows_pools" {
node_pool_soak_duration = lookup(each.value, "node_pool_soak_duration", "3600s")

standard_rollout_policy {
batch_soak_duration = lookup(each.value, "batch_soak_duration", "60s")
batch_soak_duration = lookup(each.value, "batch_soak_duration", "0s")
batch_percentage = lookup(each.value, "batch_percentage", null)
batch_node_count = lookup(each.value, "batch_node_count", null)
}
Expand Down
4 changes: 2 additions & 2 deletions modules/beta-private-cluster-update-variant/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ resource "google_container_node_pool" "pools" {
node_pool_soak_duration = lookup(each.value, "node_pool_soak_duration", "3600s")

standard_rollout_policy {
batch_soak_duration = lookup(each.value, "batch_soak_duration", "60s")
batch_soak_duration = lookup(each.value, "batch_soak_duration", "0s")
batch_percentage = lookup(each.value, "batch_percentage", null)
batch_node_count = lookup(each.value, "batch_node_count", null)
}
Expand Down Expand Up @@ -831,7 +831,7 @@ resource "google_container_node_pool" "windows_pools" {
node_pool_soak_duration = lookup(each.value, "node_pool_soak_duration", "3600s")

standard_rollout_policy {
batch_soak_duration = lookup(each.value, "batch_soak_duration", "60s")
batch_soak_duration = lookup(each.value, "batch_soak_duration", "0s")
batch_percentage = lookup(each.value, "batch_percentage", null)
batch_node_count = lookup(each.value, "batch_node_count", null)
}
Expand Down
4 changes: 2 additions & 2 deletions modules/beta-private-cluster/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ resource "google_container_node_pool" "pools" {
node_pool_soak_duration = lookup(each.value, "node_pool_soak_duration", "3600s")

standard_rollout_policy {
batch_soak_duration = lookup(each.value, "batch_soak_duration", "60s")
batch_soak_duration = lookup(each.value, "batch_soak_duration", "0s")
batch_percentage = lookup(each.value, "batch_percentage", null)
batch_node_count = lookup(each.value, "batch_node_count", null)
}
Expand Down Expand Up @@ -736,7 +736,7 @@ resource "google_container_node_pool" "windows_pools" {
node_pool_soak_duration = lookup(each.value, "node_pool_soak_duration", "3600s")

standard_rollout_policy {
batch_soak_duration = lookup(each.value, "batch_soak_duration", "60s")
batch_soak_duration = lookup(each.value, "batch_soak_duration", "0s")
batch_percentage = lookup(each.value, "batch_percentage", null)
batch_node_count = lookup(each.value, "batch_node_count", null)
}
Expand Down
4 changes: 2 additions & 2 deletions modules/beta-public-cluster-update-variant/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ resource "google_container_node_pool" "pools" {
node_pool_soak_duration = lookup(each.value, "node_pool_soak_duration", "3600s")

standard_rollout_policy {
batch_soak_duration = lookup(each.value, "batch_soak_duration", "60s")
batch_soak_duration = lookup(each.value, "batch_soak_duration", "0s")
batch_percentage = lookup(each.value, "batch_percentage", null)
batch_node_count = lookup(each.value, "batch_node_count", null)
}
Expand Down Expand Up @@ -810,7 +810,7 @@ resource "google_container_node_pool" "windows_pools" {
node_pool_soak_duration = lookup(each.value, "node_pool_soak_duration", "3600s")

standard_rollout_policy {
batch_soak_duration = lookup(each.value, "batch_soak_duration", "60s")
batch_soak_duration = lookup(each.value, "batch_soak_duration", "0s")
batch_percentage = lookup(each.value, "batch_percentage", null)
batch_node_count = lookup(each.value, "batch_node_count", null)
}
Expand Down
4 changes: 2 additions & 2 deletions modules/beta-public-cluster/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ resource "google_container_node_pool" "pools" {
node_pool_soak_duration = lookup(each.value, "node_pool_soak_duration", "3600s")

standard_rollout_policy {
batch_soak_duration = lookup(each.value, "batch_soak_duration", "60s")
batch_soak_duration = lookup(each.value, "batch_soak_duration", "0s")
batch_percentage = lookup(each.value, "batch_percentage", null)
batch_node_count = lookup(each.value, "batch_node_count", null)
}
Expand Down Expand Up @@ -715,7 +715,7 @@ resource "google_container_node_pool" "windows_pools" {
node_pool_soak_duration = lookup(each.value, "node_pool_soak_duration", "3600s")

standard_rollout_policy {
batch_soak_duration = lookup(each.value, "batch_soak_duration", "60s")
batch_soak_duration = lookup(each.value, "batch_soak_duration", "0s")
batch_percentage = lookup(each.value, "batch_percentage", null)
batch_node_count = lookup(each.value, "batch_node_count", null)
}
Expand Down
4 changes: 2 additions & 2 deletions modules/private-cluster-update-variant/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ resource "google_container_node_pool" "pools" {
node_pool_soak_duration = lookup(each.value, "node_pool_soak_duration", "3600s")

standard_rollout_policy {
batch_soak_duration = lookup(each.value, "batch_soak_duration", "60s")
batch_soak_duration = lookup(each.value, "batch_soak_duration", "0s")
batch_percentage = lookup(each.value, "batch_percentage", null)
batch_node_count = lookup(each.value, "batch_node_count", null)
}
Expand Down Expand Up @@ -716,7 +716,7 @@ resource "google_container_node_pool" "windows_pools" {
node_pool_soak_duration = lookup(each.value, "node_pool_soak_duration", "3600s")

standard_rollout_policy {
batch_soak_duration = lookup(each.value, "batch_soak_duration", "60s")
batch_soak_duration = lookup(each.value, "batch_soak_duration", "0s")
batch_percentage = lookup(each.value, "batch_percentage", null)
batch_node_count = lookup(each.value, "batch_node_count", null)
}
Expand Down
4 changes: 2 additions & 2 deletions modules/private-cluster/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ resource "google_container_node_pool" "pools" {
node_pool_soak_duration = lookup(each.value, "node_pool_soak_duration", "3600s")

standard_rollout_policy {
batch_soak_duration = lookup(each.value, "batch_soak_duration", "60s")
batch_soak_duration = lookup(each.value, "batch_soak_duration", "0s")
batch_percentage = lookup(each.value, "batch_percentage", null)
batch_node_count = lookup(each.value, "batch_node_count", null)
}
Expand Down Expand Up @@ -621,7 +621,7 @@ resource "google_container_node_pool" "windows_pools" {
node_pool_soak_duration = lookup(each.value, "node_pool_soak_duration", "3600s")

standard_rollout_policy {
batch_soak_duration = lookup(each.value, "batch_soak_duration", "60s")
batch_soak_duration = lookup(each.value, "batch_soak_duration", "0s")
batch_percentage = lookup(each.value, "batch_percentage", null)
batch_node_count = lookup(each.value, "batch_node_count", null)
}
Expand Down

0 comments on commit f3608cc

Please sign in to comment.