-
Notifications
You must be signed in to change notification settings - Fork 3
/
user_vars.auto.tfvars
119 lines (117 loc) · 3.82 KB
/
user_vars.auto.tfvars
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
# fill out this file with desired values
direct_connect = false # set to true to deploy the direct connect compatible stack
#region = "us-east-2" # only 2 az in us-west-1
vpc_cidr = "10.0.0.0/16"
private_subnet_cidrs = ["10.0.0.0/19", "10.0.32.0/19", "10.0.64.0/19"]
public_subnet_cidrs = ["10.0.96.0/27", "10.0.97.0/27", "10.0.98.0/27"]
ipa_values = ""
#subnet_az_zones = ["us-east-2a", "us-east-2b", "us-east-2c"]
#name = "dop-832"
#cluster_name = "dop-832"
#label = "dop-832" # will be used for resource naming. should be unique within the AWS account
k8s_version = "1.31"
node_groups = {
gpu-workers = {
min_size = 0
max_size = 5
instance_types = ["g4dn.xlarge"]
type = "gpu"
spot = false
desired_capacity = "0"
additional_node_labels = "group=gpu-enabled"
taints = "--register-with-taints=nvidia.com/gpu=true:NoSchedule"
},
celery-workers = {
min_size = 0
max_size = 20
instance_types = ["m5.xlarge"]
type = "cpu"
spot = false
desired_capacity = "0"
taints = "--register-with-taints=indico.io/celery=true:NoSchedule"
},
static-workers = {
min_size = 1
max_size = 20
instance_types = ["m5.xlarge"]
type = "cpu"
spot = false
desired_capacity = "0"
},
pdf-workers = {
min_size = 0
max_size = 3
instance_types = ["m5.xlarge"]
type = "cpu"
spot = false
desired_capacity = "1"
taints = "--register-with-taints=indico.io/pdfextraction=true:NoSchedule"
},
highmem-workers = {
min_size = 0
max_size = 3
instance_types = ["m5.2xlarge"]
type = "cpu"
spot = false
desired_capacity = "0"
taints = "--register-with-taints=indico.io/highmem=true:NoSchedule"
},
monitoring-workers = {
min_size = 1
max_size = 4
instance_types = ["m5.large"]
type = "cpu"
spot = false
desired_capacity = "1"
taints = "--register-with-taints=indico.io/monitoring=true:NoSchedule"
},
pgo-workers = {
min_size = 1
max_size = 4
instance_types = ["m5.large"]
type = "cpu"
spot = false
desired_capacity = "1"
taints = "--register-with-taints=indico.io/crunchy=true:NoSchedule"
},
readapi-servers = {
min_size = 0
max_size = 3
instance_types = ["m5.2xlarge"]
type = "cpu"
spot = false
desired_capacity = "0"
taints = "--register-with-taints=indico.io/readapi-server=true:NoSchedule"
},
readapi-azurite = {
min_size = 0
max_size = 1
instance_types = ["m5.xlarge"]
type = "cpu"
spot = false
desired_capacity = "1"
taints = "--register-with-taints=indico.io/azurite=true:NoSchedule"
}
}
# additional_tags = { # delete this if no additional tags needed
# foo = "bar",
# baz = "qux"
# }
default_tags = {
"indico/customer" = "indico-dev", #This maps pretty much to which AWS account
"indico/cluster" = "dop-832", #This should match the label variable
"indico/environment" = "dev" # Choices are dev , stage , prod
}
submission_expiry = 30 # days
uploads_expiry = 30 # days
#RDS Stuff
deletion_protection_enabled = false
skip_final_snapshot = true
#fsx
per_unit_storage_throughput = 50
include_rox = false
include_fsx = false
include_efs = true
#cluster
az_count = 2
s3_endpoint_enabled = true