Skip to content

Commit d7923aa

Browse files
committed
Specify machine_type for GPU nodes
1 parent 1cab27b commit d7923aa

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

examples/node_pool/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ module "gke" {
4848
},
4949
{
5050
name = "pool-02"
51+
machine_type = "n1-standard-2"
5152
min_count = 1
5253
max_count = 2
5354
local_ssd_count = 0

examples/node_pool_update_variant/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ module "gke" {
6363
},
6464
{
6565
name = "pool-02"
66+
machine_type = "n1-standard-2"
6667
min_count = 1
6768
max_count = 2
6869
disk_size_gb = 30

examples/node_pool_update_variant_beta/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ module "gke" {
6464
},
6565
{
6666
name = "pool-02"
67+
machine_type = "n1-standard-2"
6768
min_count = 1
6869
max_count = 2
6970
disk_size_gb = 30

test/integration/node_pool/controls/gcloud.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@
190190
including(
191191
"name" => "pool-02",
192192
"config" => including(
193-
"machineType" => "e2-medium",
193+
"machineType" => "n1-standard-2",
194194
),
195195
)
196196
)

0 commit comments

Comments
 (0)