File tree Expand file tree Collapse file tree 4 files changed +17
-19
lines changed
integration/node_pool/controls Expand file tree Collapse file tree 4 files changed +17
-19
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ steps:
103
103
args : ['/bin/bash', '-c', 'cft test run TestSimpleRegional --stage verify --verbose']
104
104
- id : destroy simple-regional-local
105
105
waitFor :
106
- - apply simple-regional-local
106
+ - verify simple-regional-local
107
107
name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
108
108
args : ['/bin/bash', '-c', 'cft test run TestSimpleRegional --stage teardown --verbose']
109
109
- id : init simple-regional-private-local
@@ -443,7 +443,7 @@ steps:
443
443
args : ['/bin/bash', '-c', 'cft test run TestSimpleAutopilotPrivate --stage verify --verbose']
444
444
- id : destroy simple-autopilot-private-local
445
445
waitFor :
446
- - apply simple-autopilot-private-local
446
+ - verify simple-autopilot-private-local
447
447
name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
448
448
args : ['/bin/bash', '-c', 'cft test run TestSimpleAutopilotPrivate --stage teardown --verbose']
449
449
- id : init simple-autopilot-public-local
Original file line number Diff line number Diff line change @@ -50,18 +50,17 @@ module "gke" {
50
50
auto_upgrade = true
51
51
},
52
52
{
53
- name = " pool-02"
54
- machine_type = " a2-highgpu-1g"
55
- min_count = 1
56
- max_count = 2
57
- local_ssd_count = 0
58
- disk_size_gb = 30
59
- disk_type = " pd-standard"
60
- accelerator_count = 1
61
- accelerator_type = " nvidia-tesla-a100"
62
- gpu_partition_size = " 1g.5gb"
63
- auto_repair = false
64
- service_account = var.compute_engine_service_account
53
+ name = " pool-02"
54
+ machine_type = " n1-standard-2"
55
+ min_count = 1
56
+ max_count = 2
57
+ local_ssd_count = 0
58
+ disk_size_gb = 30
59
+ disk_type = " pd-standard"
60
+ accelerator_count = 1
61
+ accelerator_type = " nvidia-tesla-p4"
62
+ auto_repair = false
63
+ service_account = var.compute_engine_service_account
65
64
},
66
65
{
67
66
name = " pool-03"
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ module "example" {
20
20
project_id = var. project_ids [0 ]
21
21
cluster_name_suffix = " -${ random_string . suffix . result } "
22
22
region = " europe-west4"
23
- zones = [" europe-west4-a " ]
23
+ zones = [" europe-west4-b " ]
24
24
network = google_compute_network. main . name
25
25
subnetwork = google_compute_subnetwork. main . name
26
26
ip_range_pods = google_compute_subnetwork. main . secondary_ip_range [0 ]. range_name
Original file line number Diff line number Diff line change 17
17
cluster_name = attribute ( 'cluster_name' )
18
18
19
19
expected_accelerators_count = "1"
20
- expected_accelerators_type = "nvidia-tesla-a100 "
20
+ expected_accelerators_type = "nvidia-tesla-p4 "
21
21
22
22
control "gcloud" do
23
23
title "Google Compute Engine GKE configuration"
218
218
including (
219
219
"name" => "pool-02" ,
220
220
"config" => including (
221
- "machineType" => "a2-highgpu-1g " ,
221
+ "machineType" => "n1-standard-2 " ,
222
222
) ,
223
223
)
224
224
)
263
263
"name" => "pool-02" ,
264
264
"config" => including (
265
265
"accelerators" => [ { "acceleratorCount" => expected_accelerators_count ,
266
- "acceleratorType" => expected_accelerators_type ,
267
- "gpuPartitionSize" => "1g.5gb" } ] ,
266
+ "acceleratorType" => expected_accelerators_type } ] ,
268
267
) ,
269
268
)
270
269
)
You can’t perform that action at this time.
0 commit comments