-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathobt-admin.tfvars
318 lines (287 loc) · 11.2 KB
/
obt-admin.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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
admin = {
name = "AttilaVamos"
email = "attila.vamos@lexisnexisrisk.com"
}
tags = { "justification" = "testing"
"owner" = "AttilaVamos"
"owner_email" = "attila.vamos@lexisnexisrisk.com"
}
#resource_group = {
# unique_name = true
#}
rbac = {
enabled = false
}
# rbac_admin_object_ids = {
# "user1" = "value"
# }
identity_type = "UserAssigned"
network_plugin = "azure"
configure_network_role = true
node_pools = {
system = {
vm_size = "Standard_D16s_v4" # "Standard_D4s_v4"
node_count = 1
#enable_auto_scaling = true #problem on 2024.08.27
only_critical_addons_enabled = true
min_count = 1
max_count = 1
availability_zones = []
subnet = "public"
#enable_host_encryption = false #problem on 2024.08.27
#enable_node_public_ip = false #problem on 2024.08.27
os_disk_type = "Managed"
type = "VirtualMachineScaleSets"
# max_pods = 10
# node_labels = {"engine" = "roxie", "engine" = "roxie"}
# orchestrator_version = "2.9.0"
# os_disk_size_gb = 100
# tags = {"mynodepooltag1" = "mytagvalue1", "mynodepooltag2" = "mytagvalue2"}
}
addpool1 = {
vm_size = "Standard_D16s_v4" # "Standard_D4s_v4"
#enable_auto_scaling = true #problem on 2024.08.27
node_count = 2
min_count = 1
max_count = 2
availability_zones = []
subnet = "public"
priority = "Regular"
spot_max_price = -1
max_surge = "1"
os_type = "Linux"
priority = "Regular"
#enable_host_encryption = false #problem on 2024.08.27
#enable_node_public_ip = false #problem on 2024.08.27
only_critical_addons_enabled = false
os_disk_type = "Managed"
type = "VirtualMachineScaleSets"
# orchestrator_version = "2.9.0"
# os_disk_size_gb = 100
# max_pods = 20
# node_labels = {"engine" = "roxie", "engine" = "roxie"}
# eviction_policy = "Spot"
# node_taints = ["mytaint1", "mytaint2"]
# proximity_placement_group_id = "my_proximity_placement_group_id"
# spot_max_price = 1
# tags = {"mynodepooltag1" = "mytagvalue1", "mynodepooltag2" = "mytagvalue2"}
}
addpool2 = {
vm_size = "Standard_D16s_v4" # "Standard_D4s_v4"
#enable_auto_scaling = true #problem on 2024.08.27
node_count = 2
min_count = 1
max_count = 2
availability_zones = []
subnet = "public"
priority = "Regular"
spot_max_price = -1
max_surge = "1"
os_type = "Linux"
priority = "Regular"
#enable_host_encryption = false #problem on 2024.08.27
#enable_node_public_ip = false #problem on 2024.08.27
only_critical_addons_enabled = false
os_disk_type = "Managed"
type = "VirtualMachineScaleSets"
# orchestrator_version = "2.9.0"
# os_disk_size_gb = 100
# max_pods = 20
# node_labels = {"engine" = "roxie", "engine" = "roxie"}
# eviction_policy = "Spot"
# node_taints = ["mytaint1", "mytaint2"]
# proximity_placement_group_id = "my_proximity_placement_group_id"
# spot_max_price = 1
# tags = {"mynodepooltag1" = "mytagvalue1", "mynodepooltag2" = "mytagvalue2"}
}
}
# CHARTS
# .......................
hpcc = {
name = "obthpcck8s"
version = "9.6.10"
# This necessary only for custom image
image_version = "9.6.10"
expose_eclwatch = true
atomic = true
recreate_pods = false
reuse_values = false
reset_values = false
force_update = false
namespace = "default"
values = ["/home/ati/OBT/obt-values.yaml"]
cleanup_on_fail = false
disable_openapi_validation = false
max_history = 0
wait = true
dependency_update = true
timeout = 900
wait_for_jobs = false
lint = false
remote_chart = "https://hpcc-systems.github.io/helm-chart"
# local_chart = "/Users/foo/work/demo/helm-chart/helm/hpcc" #Other examples: local_chart = "https://github.com/hpcc-systems/helm-chart/raw/master/docs/hpcc-8.6.16-rc1.tgz"
# version = "8.6.14-rc2"
# values = ["/Users/foo/mycustomvalues1.yaml", "/Users/foo/mycustomvalues2.yaml"]
# image_root = "west.lexisnexisrisk.com"
# image_name = "platform-core-ln"
}
storage = {
default = false
atomic = true
recreate_pods = false
reuse_values = false
reset_values = false
force_update = false
namespace = "default"
cleanup_on_fail = false
disable_openapi_validation = false
max_history = 0
wait = true
dependency_update = true
timeout = 600
wait_for_jobs = false
lint = false
remote_chart = "https://hpcc-systems.github.io/helm-chart"
# local_chart = "/Users/foo/work/demo/helm-chart/helm/examples/azure/hpcc-azurefile"
# version = "0.1.0"
# values = ["/Users/foo/mycustomvalues1.yaml", "/Users/foo/mycustomvalues2.yaml"]
/*
storage_accounts = {
# do not change the key names
dali = {
name = "dalikxgt"
resource_group_name = "app-storageaccount-sandbox-eastus-79735"
shares = {
dali = {
name = "dalishare"
sub_path = "dalistorage" //do not change this value
category = "dali" //do not change this value
sku = "Premium_LRS"
quota = 100
}
}
}
sasha = {
name = "sashakxgt"
resource_group_name = "app-storageaccount-sandbox-eastus-79735"
shares = {
sasha = {
name = "sashashare"
sub_path = "sasha" //do not change this value
category = "sasha" //do not change this value
sku = "Standard_LRS"
quota = 100
}
}
}
common = {
name = "commonkxgt"
resource_group_name = "app-storageaccount-sandbox-eastus-79735"
shares = {
data = {
name = "datashare"
sub_path = "hpcc-data" //do not change this value
category = "data" //do not change this value
sku = "Standard_LRS"
quota = 100
}
dll = {
name = "dllshare"
sub_path = "queries" //do not change this value
category = "dll" //do not change this value
sku = "Standard_LRS"
quota = 100
}
mydropzone = {
name = "mydropzoneshare"
sub_path = "dropzone" //do not change this value
category = "lz" //do not change this value
sku = "Standard_LRS"
quota = 100
}
}
}
}
*/
}
elastic4hpcclogs = {
enable = false #true
expose = true
name = "myelastic4hpcclogs"
atomic = true
recreate_pods = false
reuse_values = false
reset_values = false
force_update = false
namespace = "default"
cleanup_on_fail = false
disable_openapi_validation = false
max_history = 0
wait = true
dependency_update = true
timeout = 900
wait_for_jobs = false
lint = false
remote_chart = "https://hpcc-systems.github.io/helm-chart"
# local_chart = "/Users/foo/work/demo/helm-chart/helm/managed/logging/elastic"
# version = "1.2.10"
# values = ["/Users/foo/mycustomvalues1.yaml", "/Users/foo/mycustomvalues2.yaml"]
}
# expose_services - Expose ECLWatch and elastic4hpcclogs to the internet. This can be unsafe and may not be supported by your organization.
# Setting this to true can cause eclwatch service to stick in a pending state. Only use this if you know what you are doing.
expose_services = true
# auto_connect - Automatically connect to the kubernetes cluster from the host machine.
auto_connect = true
# disable_helm - Disable Helm deployments by Terraform. This is reserved for experimentation with other deployment tools like Flux2.
# disable_helm = false
# disable_naming_conventions - Disable naming conventions
# disable_naming_conventions = true
# auto_launch_eclwatch - Automatically launch ECLWatch web interface.
auto_launch_eclwatch = true #Set it to false if it hangs at opening ECL Watch page
/*
# Provide an existing virtual network deployed outside of this project
virtual_network = {
private_subnet_id = "value"
public_subnet_id = "value"
route_table_id = "value"
location = "value"
}
*/
/*
# Private Docker repository authentification
registry = {
password = "my_api_key"
server = "westus.lexisnexisrisk.com"
username = "foo@lexisnexisrisk.com"
}
*/
//Stops the AKS weekday nights at 6PM EST
aks_automation = {
local_authentication_enabled = false
public_network_access_enabled = false
automation_account_name = "aks-automation-default-SYT0"
resource_group_name = "aa-us-hpccplatform-dev-eastus"
create_new_account = false
create_new_role_assignment = false
schedule = [
{
schedule_name = "aks_stop"
description = "Stops the AKS weekday nights"
frequency = "Week" //OneTime, Day, Hour, Week, or Month.
interval = "1" //cannot be set when frequency is `OneTime`
daylight_saving = true
start_time = "19:00" // At least 5 minutes in the future
timezone = "America/New_York"
week_days = ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"]
},
# {
# schedule_name = "aks_start"
# description = "Starts the AKS weekday nights at 6AM EST"
# frequency = "Week" //OneTime, Day, Hour, Week, or Month.
# interval = "1" //cannot be set when frequency is `OneTime`
# daylight_saving = true
# start_time = "12:20" // At least 5 minutes in the future
# week_days = ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"]
# }
]
}