-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathvalues.yaml
More file actions
539 lines (514 loc) · 14.4 KB
/
values.yaml
File metadata and controls
539 lines (514 loc) · 14.4 KB
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
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
# Default values for imaging-system.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
version: 3.5.6
####################################################################################
#
# Define the namespace here
namespace: castimaging-v3
#
# Kubernetes Provider:
# - For Azure: AKS
# - For AWS: EKS
# - For Google: GKE
K8SProvider: AKS
#
# External network access
FrontEndHost: https://myhostname.com # hostname with no context path
# and no trailing "/"
# E.g. https://myhostname.com
#
# Ingress & LoadBalancer creation (for console-gateway, extendproxy, mcp-server):
CreateIngress: false
CreateLoadBalancer: true
UseInternalLoadBalancer: false
UseApplicationGateway: false # Set to true if an Azure Application Gateway is used (to be created separately)
UseIstioGateway: false
ExistingIstioGatewayName: "" # Only provide a value if you want to use an existing istio Gateway
# > Example: ExistingIstioGatewayName: "aks-istio-ingress/gateway-wildcard"
# Optional istio parameters:
CustomIstioSelector:
CustomIstioMainCredentialName:
CustomIstioExtendCredentialName:
#
# Context URL
ContextUrl:
enable: false
appcontext: /mycontext # Should start with "/" Eg. "/cast"
# Important notes:
# . If you install the helm chart for the first time with ContextUrl.enable=true
# => Restart all Imaging services once after the initial startup (scale down / scale up all deployments/statefulsets)
# . If you want to update ContextUrl.enable or ContextUrl.appcontext variables while Imaging is already deployed
# 1) Update values.yaml and run helm upgrade
# 2) Restart all imaging services once (scale down / scale up all deployments/statefulsets)
#
# OPTIONAL - ExtendProxy
ExtendProxy:
enable: false
exthostname: myextendhost.com
#
# OPTIONAL - MCP Server
McpServer:
enable: false
#
# OPTIONAL - Use custom Trust Store in console-authentication-service to store certificate
UseCustomTrustStore: false
auth:
caCertificate: |
-----BEGIN CERTIFICATE-----
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-----END CERTIFICATE-----
#
# OPTIONAL - Access Private Repo with Secret
UseImagePullSecrets: false
Base64EncodedDockerconfigjson:
#
# OPTIONAL - Enable shared File Storage for analysis-node
# Important note: Extra cluster configuration is required before you can enable this feature
# Please refer to the documentation before modifying below parameters.
AnalysisNodeFS:
enable: false # Do not change if castimaging is already deployed
EFSsystemID: fs-xxxxxxxxxxx # EKS specific
AKSresourceGroup: # AKS specific, optional
AKSstorageAccount: # AKS specific, optional
AKSsharedDatadirPV: # AKS specific
create: false # Only set to true in cases where volume provisioning cannot be used
secretName: cast-fs-secret
shareName: cast-fileshare
#
# CAST Storage Class names
CreateStorageClass: true # Default: true
DiskClassName: castimaging-ds # Default: castimaging-ds
FileClassName: castimaging-fs # Default: castimaging-fs
#
# Postgres
CastStorageService: # If enabled, postgres will be deployed in this helm chart
enable: true
CustomPostgres:
enable: false # If enabled, external postgres server will be used, init-db-custom-pg.sh from console-postgres-configmap.yaml will be executed
host: mypostgreshostname
port: 2285
#
# Multi Tenancy
MultiTenancyEnabled: false
#
# Neo4j memory configuration:
NEO4J_server_memory_heap_initial__size: 12G
NEO4J_server_memory_heap_max__size: 12G
NEO4J_dbms_memory_transaction_total_max: 10G
#
# Database passwords:
# Updating any password after deployment requires:
# 1) Ensuring Imaging is up and running
# 2) manually updating the password in postgres first (eg. ALTER USER operator WITH PASSWORD 'newpassword' )
# 3) for the "operator" user only: updating the password in Console "Global configuration" / "CSS and Measurement settings" section
# 4) updating the password here in values.yaml with encoding
# 5) running helm upgrade
# Encoding command on Linux: echo -n "mypassword" | base64
PostgresDbPassword: cG9zdGdyZXM=
KeycloakDbPassword: a2V5Y2xvYWs=
OperatorDbPassword: Q2FzdEFJUA==
#
Neo4jPassword: aW1hZ2luZw==
#
# CAST Operator password also has to be encrypted using cast-imaging-encryption-tool.jar GUI tool
# available in Linux installer https://extend.castsoftware.com/timeline#/extension?id=com.castsoftware.imaging.all.docker&version=3.5.6-funcrel
OperatorDbPasswordCrypted2: CRYPTED2:90B1A6EC1618661401B724DB5AC34595
#
# Keycloak admin password:
# Steps to update the keycloak admin password after deployment:
# 1) Make sure Imaging is up and running
# 2) Update the password in Keycloak admin GUI
# 3) Update the password here in values.yaml, with encoding (KeycloakAdminPassword variable)
# 4) Run Util-ScaleDownAll.bat + Util-ScaleUpAll.bat
# Encoding command for Linux : echo -n "mypassword" | base64
# or for Windows (PowerShell): [Convert]::ToBase64String([Text.Encoding]::UTF8.GetBytes("mypassword"))
KeycloakAdminPassword: YWRtaW4=
#
# If restricted security is enforced in your environment, set RestrictedSecurityMode to true
# IMPORTANT: this setting cannot be changed after Imaging is deployed
RestrictedSecurityMode: false
#
# Optional: UseCookieAdapter is only required when SAML authentication is enabled in combination with UseIstioGateway or CreateIngress
UseCookieAdapter: false
#
# SMTP settings (optional):
# Encode SMTP password:
# on Linux: echo -n "mypassword" | base64
# on Windows (PowerShell): [Convert]::ToBase64String([Text.Encoding]::UTF8.GetBytes("mypassword"))
SMTP:
enable: false
SPRING_MAIL_HOST: smtp.myserver.com
SPRING_MAIL_PORT: 587
SPRING_MAIL_USERNAME: user@myserver.com
SPRING_MAIL_PASSWORD: encodedstring
SPRING_MAIL_PROTOCOL: smtp
SPRING_MAIL_PROPERTIES_MAIL_SMTP_AUTH: true
SPRING_MAIL_PROPERTIES_MAIL_SMTP_STARTTLS_ENABLE: true
####################################################################################
# Disk Storage (DS) and File Storage (FS) Drivers
# EKS drivers:
EKS_DSdriver: ebs.csi.aws.com
EKS_FSdriver: efs.csi.aws.com
# AKS drivers:
AKS_DSdriver: disk.csi.azure.com
AKS_FSdriver: file.csi.azure.com
# GKE drivers:
GKE_DSdriver: pd.csi.storage.gke.io
GKE_FSdriver: filestore.csi.storage.gke.io
#
# Size of volumes
#
size_castdir: 100Gi # Default: 100Gi
size_shared_datadir: 100Gi # Default: 100Gi
size_db_data: 128Gi # Default: 128Gi
size_imagingviewer_v3_server_log: 1Gi # Default: 1Gi
size_imagingviewer_v3_etl_logs: 10Gi # Default: 10Gi
size_imagingviewer_v3_etl_csvarchive: 10Gi # Default: 10Gi
size_imagingviewer_v3_aimanager_logs: 2Gi # Default: 2Gi
size_imagingviewer_v3_api_logs: 2Gi # Default: 2Gi
size_extendproxy_data: 10Gi # Default: 10Gi
size_neo4jdata: 100Gi # Default: 100Gi
size_mcpserver_logs: 2Gi # Default: 2Gi
#
# Console
#
ConsolePostgresReplicaCount: 1
SSOServiceReplicaCount: 1
ConsoleServiceReplicaCount: 1
GatewayServiceReplicaCount: 1
AnalysisNodeReplicaCount: 1
ControlPaneReplicaCount: 1
AuthenticationServiceReplicaCount: 1
DashboardReplicaCount: 1
ExtendProxyReplicaCount: 1
CookieAdapterServiceReplicaCount: 2
#
# Viewer
#
ViewerNeo4jReplicaCount: 1
ViewerServerReplicaCount: 1
ViewerEtlReplicaCount: 1
ViewerAiManagerReplicaCount: 1
ViewerApiReplicaCount: 1
McpServerReplicaCount: 1
#
# Console images
#
InitUtilImage:
name: castimaging/init-util
tag: "1.2.8"
pullPolicy: IfNotPresent
ConsolePostgresImage:
name: postgres
tag: "15"
pullPolicy: IfNotPresent
ConsoleSSOServiceImage:
name: castimaging/sso-service
tag: "3.5.6"
pullPolicy: IfNotPresent
ConsoleServiceImage:
name: castimaging/console
tag: "3.5.6"
pullPolicy: IfNotPresent
ConsoleGatewayServiceImage:
name: castimaging/gateway
tag: "3.5.6"
pullPolicy: IfNotPresent
ConsoleAnalysisNodeImage:
name: castimaging/analysis-node
tag: "3.5.6_core8.4.9"
pullPolicy: IfNotPresent
ConsoleControlPaneImage:
name: castimaging/admin-center
tag: "3.5.6"
pullPolicy: IfNotPresent
ConsoleAuthenticationServiceImage:
name: castimaging/auth-service
tag: "3.5.6"
pullPolicy: IfNotPresent
ConsoleIntegratedDashboardsImage:
name: castimaging/dashboards-v3
tag: "3.5.6"
pullPolicy: IfNotPresent
#
# Viewer images
#
ViewerNeo4jImage:
name: castimaging/neo4j
tag: "3.5.6"
pullPolicy: IfNotPresent
ViewerServiceImage:
name: castimaging/viewer
tag: "3.5.6"
pullPolicy: IfNotPresent
ViewerEtlImage:
name: castimaging/etl-service
tag: "3.5.6"
pullPolicy: IfNotPresent
ViewerAiManagerImage:
name: castimaging/ai-service
tag: "3.5.6"
pullPolicy: IfNotPresent
ViewerApiImage:
name: castimaging/imaging-apis
tag: "3.5.6"
pullPolicy: IfNotPresent
McpServerImage:
name: castimaging/imaging-mcp-server
tag: "3.5.6"
pullPolicy: IfNotPresent
#
# ExtendProxy Image
#
ExtendProxyImage:
name: castimaging/extend-proxy
tag: "2.2.7"
pullPolicy: IfNotPresent
#
# Optional - this image is needed when UseCookieAdapter is set to true,
# which is only required when SAML authentication is enabled in combination with UseIstioGateway or CreateIngress
#
CookieAdapterImage:
name: nginxinc/nginx-unprivileged
tag: "alpine-slim"
pullPolicy: IfNotPresent
#
# Console resources
#
postgres_shmsize: 4G
ConsolePostgresResources:
requests:
cpu: 0.5
memory: 8G
limits:
cpu: 2
memory: 16G
SSOServiceResources:
requests:
cpu: 0.1
memory: 1G
limits:
cpu: 1
memory: 2G
ConsoleServiceResources:
requests:
cpu: 0.1
memory: 500M
limits:
cpu: 1
memory: 2G
GatewayServiceResources:
requests:
cpu: 0.1
memory: 500M
limits:
cpu: 1
memory: 2G
AnalysisNode_shmsize: 1G
AnalysisNodeResources:
requests:
cpu: 0.5
memory: 8G
limits:
cpu: 2
memory: 32G
ControlPanelResources:
requests:
cpu: 0.1
memory: 800M
limits:
cpu: 1
memory: 2G
AuthenticationServiceResources:
requests:
cpu: 0.1
memory: 500M
limits:
cpu: 1
memory: 1G
IntegratedDashboardsResources:
requests:
cpu: 0.1
memory: 600M
limits:
cpu: 1
memory: 4G
#
# Viewer resources
#
ViewerNeo4jResources:
requests:
cpu: 0.5
memory: 16G
limits:
cpu: 4
memory: 32G
ViewerServerServiceResources:
requests:
cpu: 0.2
memory: 500M
limits:
cpu: 1
memory: 8G
ViewerEtlResources:
requests:
cpu: 0.2
memory: 500M
limits:
cpu: 1
memory: 8G
ViewerAiManagerResources:
requests:
cpu: 0.1
memory: 400M
limits:
cpu: 1
memory: 2G
ViewerApiResources:
requests:
cpu: 0.1
memory: 200M
limits:
cpu: 1
memory: 2G
McpServerResources:
requests:
cpu: 0.2
memory: 400M
limits:
cpu: 1
memory: 2G
#
# ExtendProxy resources
#
ExtendProxyResources:
requests:
cpu: 0.2
memory: 200M
limits:
cpu: 1
memory: 2G
#
# InitContainer resources
#
InitContainerResources:
requests:
cpu: 0.1
memory: 100M
limits:
cpu: 1
memory: 1G
#
# Analysis folders (do not modify)
#
anadir:
datadirmount: /opt/cast/shared
deploy: /opt/cast/shared/deploy
delivery: /opt/cast/shared/delivery
common: /opt/cast/shared/common-data
castdirmount: /usr/share/CAST
logs: /usr/share/CAST/CAST/Logs
lisa: /usr/share/CAST/CASTMS/LISA
extensions: /usr/share/CAST/Extensions
##########################################################################################
# Node selection - DEDICATED castimaging kubernetes nodes for XL scenario
# 4 nodes minimum required:
# node 1: postgres
# node 2: console services
# node 3: viewer services
# node 4: analysis-node
# node x: optional additional kubernetes nodes for as many additional analysis nodes
# All dedicated castimaging kubernetes nodes / nodepool should have:
# -> taint: workload=castimaging:NoSchedule
# -> label: app: castimaging
##########################################################################################
# Set to true to enforce dedicated kubernetes node scenario
EnforceNodeAffinity: false
nodeSelector:
app: castimaging
# Tolerations - allow scheduling on tainted CAST nodes
tolerations:
- key: workload
operator: Equal
value: castimaging
effect: NoSchedule
# Affinity - REQUIRE castimaging nodes, prevent scheduling elsewhere
nodeSelectorAppcastimaging:
nodeSelectorTerms:
- matchExpressions:
- key: app
operator: In
values:
- castimaging
labelSelectorServiceNeo4j:
- labelSelector:
matchExpressions:
- key: imaging.service
operator: In
values:
- viewer-neo4j
topologyKey: kubernetes.io/hostname
labelSelectorAppcastimaging:
- labelSelector:
matchExpressions:
- key: app
operator: In
values:
- castimaging
topologyKey: kubernetes.io/hostname
labelSelectorServiceSso:
- labelSelector:
matchExpressions:
- key: imaging.service
operator: In
values:
- console-sso-service
topologyKey: kubernetes.io/hostname
labelSelectorServicePostgresAnalysisNode:
- labelSelector:
matchExpressions:
- key: imaging.service
operator: In
values:
- console-postgres
- console-analysis-node
topologyKey: kubernetes.io/hostname
labelSelectorGroupViewer:
- labelSelector:
matchExpressions:
- key: imaging.group
operator: In
values:
- viewer
topologyKey: kubernetes.io/hostname
podAffinityGroupConsole:
- weight: 100
podAffinityTerm:
labelSelector:
matchExpressions:
- key: imaging.group
operator: In
values:
- console
topologyKey: kubernetes.io/hostname
labelSelectorGroupConsole:
- labelSelector:
matchExpressions:
- key: imaging.group
operator: In
values:
- console
topologyKey: kubernetes.io/hostname
podAffinityGroupViewer:
- weight: 100
podAffinityTerm:
labelSelector:
matchExpressions:
- key: imaging.group
operator: In
values:
- viewer
topologyKey: kubernetes.io/hostname