Skip to content

Commit 8a14575

Browse files
committed
fix: update tfvars file
1 parent 66093d7 commit 8a14575

2 files changed

Lines changed: 54 additions & 1 deletion

File tree

modules/python/clients/aks_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

scenarios/perf-eval/k8s-gpu-cluster-crud/terraform-inputs/azure.tfvars

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,55 @@
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+
/*
153
scenario_type = "perf-eval"
254
scenario_name = "k8s-gpu-cluster-crud"
355
deletion_delay = "2h"
@@ -28,3 +80,4 @@ aks_cli_config_list = [
2880
]
2981
}
3082
]
83+
*/

0 commit comments

Comments
 (0)