@@ -29,33 +29,50 @@ variable "dns_prefix" {
29
29
default = " api"
30
30
}
31
31
32
- variable "agent_pool_profile_name " {
32
+ variable "default_node_pool_name " {
33
33
type = string
34
- description = " Name of agent pool profile ."
34
+ description = " Name of default node pool ."
35
35
default = " default"
36
36
}
37
37
38
- variable "agent_pool_profile_count " {
38
+ variable "default_node_pool_type " {
39
39
type = string
40
- description = " Number of worker nodes"
40
+ description = " Type of default node pool. Defaults to VirtualMachineScaleSets, use AvailabilitySet for backwards compatibility with older clusters."
41
+ default = " VirtualMachineScaleSets"
42
+ }
43
+
44
+ variable "default_node_pool_enable_auto_scaling" {
45
+ type = bool
46
+ description = " Wether to enable auto scaling for the default node pool. Defaults to true."
47
+ default = true
48
+ }
49
+
50
+ variable "default_node_pool_min_count" {
51
+ type = string
52
+ description = " Min number of worker nodes"
41
53
default = " 1"
42
54
}
43
55
44
- variable "agent_pool_profile_vm_size " {
56
+ variable "default_node_pool_max_count " {
45
57
type = string
46
- description = " VM size of worker nodes"
47
- default = " Standard_D1_v2 "
58
+ description = " Max number of worker nodes"
59
+ default = " 1 "
48
60
}
49
61
50
- variable "agent_pool_profile_os_type " {
62
+ variable "default_node_pool_node_count " {
51
63
type = string
52
- description = " OS type of worker nodes"
53
- default = " Linux "
64
+ description = " Static number of worker nodes"
65
+ default = " 1 "
54
66
}
55
67
56
- variable "agent_pool_profile_os_disk_size_gb" {
68
+ variable "default_node_pool_vm_size" {
69
+ type = string
70
+ description = " VM size of worker nodes"
71
+ default = " Standard_D1_v2"
72
+ }
73
+
74
+ variable "default_node_pool_os_disk_size_gb" {
57
75
type = string
58
76
description = " Disk size of worker nodes (in GB)"
59
77
default = " 30"
60
78
}
61
-
0 commit comments