Skip to content

Commit

Permalink
Spot support
Browse files Browse the repository at this point in the history
  • Loading branch information
pk0331 committed May 31, 2023
1 parent 8e86ccf commit 3083d23
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/private-cluster/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ resource "google_container_node_pool" "pools" {
node_config {
image_type = lookup(each.value, "image_type", "COS_CONTAINERD")
machine_type = lookup(each.value, "machine_type", "e2-medium")
spot = lookup(each.value, "spot", "false")
min_cpu_platform = lookup(each.value, "min_cpu_platform", "")
dynamic "gcfs_config" {
for_each = lookup(each.value, "enable_gcfs", false) ? [true] : []
Expand Down

0 comments on commit 3083d23

Please sign in to comment.