-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathvariables.tf
96 lines (83 loc) · 1.87 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
87
88
89
90
91
92
93
94
95
96
variable "cluster_name" {
type = string
description = "EKS Cluster Name"
default = "karpenter-cluster"
}
variable "aws_region" {
type = string
description = "AWS Region to deploy resources"
default = "us-east-1"
}
variable "k8s_version" {
type = string
description = "Default Kubernetes Version"
default = "1.27"
}
variable "default_tags" {
default = {
Foo = "Bar"
Ping = "Pong"
}
}
variable "fargate_profiles" {
type = list(any)
description = "Name of fargate profiles created on cluster"
default = []
}
variable "karpenter_instance_family" {
type = list
description = "Instance family list to launch on karpenter"
default = [
"m5",
"c5"
]
}
variable "karpenter_instance_sizes" {
type = list
description = "Instance sizes to diversify into instance family"
default = [
"large",
"2xlarge"
]
}
variable "karpenter_capacity_type" {
type = list
description = "Capacity Type; Ex spot, on_demand"
default = [
"spot"
]
}
variable "karpenter_availability_zones" {
type = list
description = "Availability zones to launch nodes"
default = [
"us-east-1a",
"us-east-1b",
"us-east-1c"
]
}
variable "karpenter_cpu_limit" {
type = string
description = "CPU Limits to launch total nodes"
default = "100"
}
variable "karpenter_memory_limit" {
type = string
description = "Memory Limits to launch total nodes"
default = "4000Gi"
}
variable "addon_coredns_version" {
type = string
description = "CoreDNS addon version"
default = "v1.10.1-eksbuild.2"
}
variable "addon_kubeproxy_version" {
type = string
description = "KubeProxy addon version"
default = "v1.27.3-eksbuild.2"
}
variable "addon_cni_version" {
type = string
description = "VPC CNI addon version"
default = "v1.12.6-eksbuild.1"
}