From d7923aadf19ff554d6180f28e509c025fa8ff4a9 Mon Sep 17 00:00:00 2001 From: Morgante Pell Date: Wed, 8 Jul 2020 23:02:12 -0400 Subject: [PATCH] Specify machine_type for GPU nodes --- examples/node_pool/main.tf | 1 + examples/node_pool_update_variant/main.tf | 1 + examples/node_pool_update_variant_beta/main.tf | 1 + test/integration/node_pool/controls/gcloud.rb | 2 +- 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/node_pool/main.tf b/examples/node_pool/main.tf index 2c47774d88..321534494d 100644 --- a/examples/node_pool/main.tf +++ b/examples/node_pool/main.tf @@ -48,6 +48,7 @@ module "gke" { }, { name = "pool-02" + machine_type = "n1-standard-2" min_count = 1 max_count = 2 local_ssd_count = 0 diff --git a/examples/node_pool_update_variant/main.tf b/examples/node_pool_update_variant/main.tf index d52df4a36e..700ea9d5f5 100644 --- a/examples/node_pool_update_variant/main.tf +++ b/examples/node_pool_update_variant/main.tf @@ -63,6 +63,7 @@ module "gke" { }, { name = "pool-02" + machine_type = "n1-standard-2" min_count = 1 max_count = 2 disk_size_gb = 30 diff --git a/examples/node_pool_update_variant_beta/main.tf b/examples/node_pool_update_variant_beta/main.tf index 6211d56300..407b7f565a 100644 --- a/examples/node_pool_update_variant_beta/main.tf +++ b/examples/node_pool_update_variant_beta/main.tf @@ -64,6 +64,7 @@ module "gke" { }, { name = "pool-02" + machine_type = "n1-standard-2" min_count = 1 max_count = 2 disk_size_gb = 30 diff --git a/test/integration/node_pool/controls/gcloud.rb b/test/integration/node_pool/controls/gcloud.rb index d9d3050421..03ee609fd2 100644 --- a/test/integration/node_pool/controls/gcloud.rb +++ b/test/integration/node_pool/controls/gcloud.rb @@ -190,7 +190,7 @@ including( "name" => "pool-02", "config" => including( - "machineType" => "e2-medium", + "machineType" => "n1-standard-2", ), ) )