-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
86 lines (68 loc) · 1.28 KB
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
variable "name" {
description = "Name of the pool"
}
variable "kubernetes_cluster_id" {
description = "ID of the Kubernetes cluster"
}
variable "node_count" {
type = number
default = 3
}
variable "kubernetes_version" {
default = null
}
variable "availability_zones" {
type = list(string)
default = null
}
variable "vm_size" {
default = "Standard_D2s_v3"
}
variable "max_pods" {
default = 60
}
variable "labels" {
type = map(string)
default = {}
}
variable "enable_host_encryption" {
type = bool
default = false
}
variable "disk_size_gb" {
type = number
default = 256
}
variable "disk_type" {
default = "Managed"
}
variable "os_type" {
default = "Linux"
}
variable "subnet_id" {
}
# Per documentation, https://docs.microsoft.com/en-us/azure/aks/upgrade-cluster#customize-node-surge-upgrade
# For production node pools, we recommend a max-surge setting of 33%.
variable "uprade_max_surge" {
default = "33%"
}
variable "taints" {
type = list(string)
default = []
}
variable "tags" {
type = map(string)
default = {}
}
variable "enable_auto_scaling" {
type = bool
default = false
}
variable "auto_scaling_min_nodes" {
type = number
default = 0
}
variable "auto_scaling_max_nodes" {
type = number
default = 3
}