File tree Expand file tree Collapse file tree
scenarios/perf-eval/k8s-gpu-cluster-crud/terraform-inputs Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -314,7 +314,7 @@ def create_node_pool(
314314 "os_disk_type" : "Managed" ,
315315 "nodeLabels" : {"gpu" : "true" } if gpu_node_pool else {},
316316 "gpu_profile" : {
317- "driver" : "None" if not gpu_node_pool or vm_size == "Standard_ND96asr_v4" else "Install" ,
317+ "driver" : "None" if gpu_node_pool and vm_size == "Standard_ND96asr_v4" else "Install" ,
318318 },
319319 }
320320
Original file line number Diff line number Diff line change 1+ variable "enable_gpu" {
2+ description = " Whether this run should use GPU-backed nodes"
3+ type = bool
4+ default = true
5+ }
6+
7+ locals {
8+ cpu_vm_size = " Standard_B16ms"
9+ gpu_vm_size = " Standard_NC16as_T4_v3"
10+
11+ default_vm_size = var. enable_gpu
12+ ? local. gpu_vm_size
13+ : local. cpu_vm_size
14+ }
15+
16+ scenario_type = " perf-eval"
17+ scenario_name = " k8s-gpu-cluster-crud"
18+ deletion_delay = " 2h"
19+ owner = " aks"
20+
21+ aks_cli_config_list = [
22+ {
23+ role = " gpu"
24+ aks_name = " gpu-cluster"
25+ sku_tier = " standard"
26+ kubernetes_version = " 1.33"
27+ use_aks_preview_cli_extension = true
28+
29+ default_node_pool = {
30+ name = " default"
31+ node_count = 2
32+ vm_size = local.default_vm_size
33+ }
34+
35+ optional_parameters = [
36+ {
37+ name = " network-plugin"
38+ value = " azure"
39+ },
40+ {
41+ name = " network-plugin-mode"
42+ value = " overlay"
43+ },
44+ {
45+ name = " ssh-access"
46+ value = " disabled"
47+ }
48+ ]
49+ }
50+ ]
51+
52+ /*
153scenario_type = "perf-eval"
254scenario_name = "k8s-gpu-cluster-crud"
355deletion_delay = "2h"
@@ -28,3 +80,4 @@ aks_cli_config_list = [
2880 ]
2981 }
3082]
83+ */
You can’t perform that action at this time.
0 commit comments