File tree 3 files changed +77
-3
lines changed
3 files changed +77
-3
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ managed_node_groups:
113
113
demeter.run/availability-sla : consistent
114
114
demeter.run/compute-profile : general-purpose
115
115
demeter.run/compute-arch : x86
116
- demeter.run/availability-zone : az1
116
+ demeter.run/availability-zone : az2
117
117
instance_type : n4-standard-8
118
118
min_size : 0
119
119
max_size : 1
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ module "ext_cardano_kupo_crds" {
40
40
}
41
41
42
42
module "ext_cardano_kupo" {
43
- source = " git::https://github.com/demeter-run/ext-cardano-kupo.git//bootstrap?ref=61017ea "
43
+ source = " git::https://github.com/demeter-run/ext-cardano-kupo.git//bootstrap?ref=c196b08 "
44
44
for_each = toset ([for n in toset ([" v1" ]) : n if var . enable_cardano_kupo ])
45
45
namespace = " ftr-kupo-${ each . key } "
46
46
cloud_provider = var. cloud_provider
@@ -114,6 +114,15 @@ module "ext_cardano_kupo" {
114
114
value = " arm64"
115
115
}
116
116
]
117
+ node_affinity = {
118
+ required_during_scheduling_ignored_during_execution = {
119
+ node_selector_term = [
120
+ {
121
+ match_expressions = var.kupo_v1_cell1_preview_node_affinity
122
+ }
123
+ ]
124
+ }
125
+ }
117
126
}
118
127
}
119
128
}
@@ -167,6 +176,15 @@ module "ext_cardano_kupo" {
167
176
value = " arm64"
168
177
}
169
178
]
179
+ node_affinity = {
180
+ required_during_scheduling_ignored_during_execution = {
181
+ node_selector_term = [
182
+ {
183
+ match_expressions = var.kupo_v1_cell2_preprod_node_affinity
184
+ }
185
+ ]
186
+ }
187
+ }
170
188
}
171
189
}
172
190
}
@@ -220,9 +238,17 @@ module "ext_cardano_kupo" {
220
238
value = " arm64"
221
239
}
222
240
]
241
+ node_affinity = {
242
+ required_during_scheduling_ignored_during_execution = {
243
+ node_selector_term = [
244
+ {
245
+ match_expressions = var.kupo_v1_cell3_mainnet_node_affinity
246
+ }
247
+ ]
248
+ }
249
+ }
223
250
}
224
251
}
225
252
}
226
253
}
227
254
}
228
-
Original file line number Diff line number Diff line change @@ -134,6 +134,54 @@ variable "kupo_v1_api_key_salt" {
134
134
default = " "
135
135
}
136
136
137
+ variable "kupo_v1_cell1_preview_node_affinity" {
138
+ description = " node affinity match_expressions for kupo cell1 preview instance"
139
+ type = list (object ({
140
+ key = string
141
+ operator = string
142
+ values = list (string )
143
+ }))
144
+ default = [
145
+ {
146
+ key = " cloud.google.com/gke-nodepool"
147
+ operator = " In"
148
+ values = [" co-di-arm64-az1" ]
149
+ }
150
+ ]
151
+ }
152
+
153
+ variable "kupo_v1_cell2_preprod_node_affinity" {
154
+ description = " node affinity match_expressions for kupo cell2 preprod instance"
155
+ type = list (object ({
156
+ key = string
157
+ operator = string
158
+ values = list (string )
159
+ }))
160
+ default = [
161
+ {
162
+ key = " cloud.google.com/gke-nodepool"
163
+ operator = " In"
164
+ values = [" co-di-arm64-az1" ]
165
+ }
166
+ ]
167
+ }
168
+
169
+ variable "kupo_v1_cell3_mainnet_node_affinity" {
170
+ description = " node affinity match_expressions for kupo cell3 mainnet instance"
171
+ type = list (object ({
172
+ key = string
173
+ operator = string
174
+ values = list (string )
175
+ }))
176
+ default = [
177
+ {
178
+ key = " cloud.google.com/gke-nodepool"
179
+ operator = " In"
180
+ values = [" co-di-arm64-az1" ]
181
+ }
182
+ ]
183
+ }
184
+
137
185
variable "kupo_v1_storage_size_preview" {
138
186
description = " size of the storage for the kupo extension"
139
187
default = " 50Gi"
You can’t perform that action at this time.
0 commit comments