-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvalues.yaml
More file actions
515 lines (496 loc) · 13.3 KB
/
values.yaml
File metadata and controls
515 lines (496 loc) · 13.3 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
## String to partially override reportportal.fullname template (will maintain the release name)
##
# nameOverride:
## String to fully override reportportal.fullname template
##
# fullnameOverride:
serviceindex:
repository: reportportal/service-index
tag: 5.8.0
name: index
pullPolicy: Always
resources:
requests:
cpu: 150m
memory: 128Mi
limits:
cpu: 200m
memory: 256Mi
podLabels: {}
podAnnotations: {}
securityContext: {}
## Define which Nodes the Pods are scheduled on.
## ref: https://kubernetes.io/docs/user-guide/node-selection/
##
nodeSelector:
cluster: internaltools
kubernetes.io/arch: amd64
# disktype: ssd
service:
portName: ""
uat:
repository: reportportal/service-authorization
tag: 5.8.0
name: uat
pullPolicy: Always
readinessProbe:
enabled: true
initialDelaySeconds: 60
periodSeconds: 40
timeoutSeconds: 5
failureThreshold: 10
livenessProbe:
enabled: true
initialDelaySeconds: 60
periodSeconds: 40
timeoutSeconds: 5
failureThreshold: 10
resources:
requests:
cpu: 100m
memory: 512Mi
limits:
cpu: 500m
memory: 2048Mi
sessionLiveTime: 86400
samlSessionLiveTime: 4320
## The initial password for superadmin user on FIRST launch. If the password was changed from the UI,
## this value can't change the password on redeployments.
superadminInitPasswd:
## If 'true', the secret will be generated from 20 random characters.
auto: true
## Specify if auto = false
password: ""
podLabels: {}
podAnnotations: {}
## jvmArgs
## If you need to use a custom java keystore you can use it through jvmArgs
## eg. : -Djavax.net.ssl.trustStore=/etc/secret-volume/custom-pki.jks
jvmArgs: "-Djava.security.egd=file:/dev/./urandom -XX:MinRAMPercentage=60.0 -XX:MaxRAMPercentage=90.0"
## External environment variables
##
extraEnvs: []
# - name: EXTRA_ENV
# value: "TRUE"
# - name: EXTRA_ENV_SECRET
# valueFrom:
# secretKeyRef:
# name: "additional-credentials"
# key: username
securityContext: {}
## Define which Nodes the Pods are scheduled on.
## ref: https://kubernetes.io/docs/user-guide/node-selection/
##
nodeSelector:
cluster: internaltools
kubernetes.io/arch: amd64
# disktype: ssd
serviceAccountName: ""
## Provide a secret containing sensitives data
## EG.: provide a custom java keystore used in jvmArgs
##
## keytool -genkeypair -storetype jks -alias todelete -keypass changeit -storepass changeit -keystore custom-pki.jks -dname "CN=Developer, OU=Department, O=Company, L=City, ST=State, C=CA"
## keytool -delete -alias todelete -storepass changeit -keystore custom-pki.jks
## keytool -list -keystore custom-pki.jks -storepass changeit
##
## Generate base64 data and paste it in your values.yaml :
## cat custom-pki.jks | base64 -w
secret:
enabled: false
mountPath: /etc/secret-volume
readOnly: true
data: {}
# custom-pki.jks: <base64-data>
service:
portName: ""
serviceui:
repository: reportportal/service-ui
tag: 5.8.0
name: ui
pullPolicy: Always
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 200m
memory: 256Mi
podLabels: {}
podAnnotations: {}
securityContext: {}
## Define which Nodes the Pods are scheduled on.
## ref: https://kubernetes.io/docs/user-guide/node-selection/
##
nodeSelector:
cluster: internaltools
kubernetes.io/arch: amd64
# disktype: ssd
serviceAccountName: ""
service:
portName: ""
serviceapi:
repository: reportportal/service-api
tag: 5.8.0
name: api
pullPolicy: Always
replicaCount: 1
readinessProbe:
enabled: true
initialDelaySeconds: 30
periodSeconds: 20
timeoutSeconds: 3
failureThreshold: 20
livenessProbe:
enabled: true
initialDelaySeconds: 30
periodSeconds: 20
timeoutSeconds: 5
failureThreshold: 5
resources:
requests:
cpu: 500m
memory: 1024Mi
limits:
cpu: 1000m
memory: 2048Mi
jvmArgs: "-Djava.security.egd=file:/dev/./urandom -XX:+UseG1GC -XX:MinRAMPercentage=60.0 -XX:InitiatingHeapOccupancyPercent=70 -XX:MaxRAMPercentage=90.0 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp"
## Number of queues
## Where "totalNumber" is the total number of queues
## Сalculation formula: perPodNumber = totalNumber / serviceapi.replicaCount
queues:
totalNumber:
perPodNumber:
## External environment variables
##
extraEnvs: []
# - name: EXTRA_ENV
# value: "TRUE"
# - name: EXTRA_ENV_SECRET
# valueFrom:
# secretKeyRef:
# name: "additional-credentials"
# key: username
podLabels: {}
podAnnotations: {}
securityContext: {}
## Define which Nodes the Pods are scheduled on.
## ref: https://kubernetes.io/docs/user-guide/node-selection/
##
nodeSelector:
cluster: internaltools
kubernetes.io/arch: amd64
# disktype: ssd
serviceAccountName: ""
service:
portName: ""
servicejobs:
repository: reportportal/service-jobs
tag: 5.8.0
name: jobs
pullPolicy: Always
readinessProbe:
enabled: true
initialDelaySeconds: 60
periodSeconds: 40
timeoutSeconds: 5
failureThreshold: 10
livenessProbe:
enabled: true
initialDelaySeconds: 60
periodSeconds: 40
timeoutSeconds: 5
failureThreshold: 10
coreJobs:
cleanAttachmentCron: 0 0 */24 * * *
cleanLogCron: 0 0 */24 * * *
cleanLaunchCron: 0 0 */24 * * *
cleanStorageCron: 0 0 */24 * * *
storageProjectCron: 0 */5 * * * *
chunksize: 1000
## Used for Double Entry. Ref: https://reportportal.io/blog/double-entry-in-5.7.2
## Processing logs by Jobs service (log per ms).
logProcessing:
maxBatchSize: 2000
maxBatchTimeout: 6000
resources:
requests:
cpu: 100m
memory: 248Mi
limits:
cpu: 100m
memory: 372Mi
jvmArgs: ""
## External environment variables
##
extraEnvs: []
# - name: EXTRA_ENV
# value: "TRUE"
# - name: EXTRA_ENV_SECRET
# valueFrom:
# secretKeyRef:
# name: "additional-credentials"
# key: username
podLabels: {}
podAnnotations: {}
securityContext: {}
## Define which Nodes the Pods are scheduled on.
## ref: https://kubernetes.io/docs/user-guide/node-selection/
##
nodeSelector:
cluster: internaltools
kubernetes.io/arch: amd64
# disktype: ssd
serviceAccountName: ""
service:
portName: ""
migrations:
repository: reportportal/migrations
tag: 5.8.0
pullPolicy: Always
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 100m
memory: 256Mi
podLabels: {}
podAnnotations: {}
securityContext: {}
## Define which Nodes the Pods are scheduled on.
## ref: https://kubernetes.io/docs/user-guide/node-selection/
##
nodeSelector:
cluster: internaltools
kubernetes.io/arch: amd64
# disktype: ssd
serviceAccountName: ""
metadataAnnotations:
enabled: true
hooks:
"helm.sh/hook": "pre-install,pre-upgrade"
"helm.sh/hook-delete-policy": "before-hook-creation,hook-succeeded"
serviceanalyzer:
repository: reportportal/service-auto-analyzer
tag: 5.7.5
name: analyzer
pullPolicy: Always
uwsgiWorkers: 2
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
cpu: 100m
memory: 512Mi
podLabels: {}
podAnnotations: {}
securityContext: {}
## External environment variables
##
extraEnvs: []
# - name: EXTRA_ENV
# value: "TRUE"
# - name: EXTRA_ENV_SECRET
# valueFrom:
# secretKeyRef:
# name: "additional-credentials"
# key: username
##
## Define which Nodes the Pods are scheduled on.
## ref: https://kubernetes.io/docs/user-guide/node-selection/
##
nodeSelector:
cluster: internaltools
kubernetes.io/arch: amd64
# disktype: ssd
serviceAccountName: ""
service:
portName: ""
serviceanalyzertrain:
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
cpu: 200m
memory: 512Mi
podLabels: {}
podAnnotations: {}
securityContext: {}
## External environment variables
##
extraEnvs: []
# - name: EXTRA_ENV
# value: "TRUE"
# - name: EXTRA_ENV_SECRET
# valueFrom:
# secretKeyRef:
# name: "additional-credentials"
# key: username
## Define which Nodes the Pods are scheduled on.
## ref: https://kubernetes.io/docs/user-guide/node-selection/
##
nodeSelector:
cluster: internaltools
kubernetes.io/arch: amd64
# disktype: ssd
serviceAccountName: ""
service:
portName: ""
metricsgatherer:
repository: reportportal/service-metrics-gatherer
tag: 5.7.4
name: metrics-gatherer
loggingLevel: debug
timeManagement:
starttime: 22:00
endtime: 08:00
timezone: Europe/Minsk
maxDaysStore: 500
resources:
requests:
cpu: 128m
memory: 128Mi
limits:
cpu: 256m
memory: 256Mi
podLabels: {}
podAnnotations: {}
securityContext: {}
## External environment variables
##
extraEnvs: []
# - name: EXTRA_ENV
# value: "TRUE"
# - name: EXTRA_ENV_SECRET
# valueFrom:
# secretKeyRef:
# name: "additional-credentials"
# key: username
## Define which Nodes the Pods are scheduled on.
## ref: https://kubernetes.io/docs/user-guide/node-selection/
##
nodeSelector:
cluster: internaltools
kubernetes.io/arch: amd64
# disktype: ssd
serviceAccountName: ""
service:
portName: ""
rabbitmq:
SecretName: ""
installdep:
enable: false
endpoint:
## Enable HTTPS and AMQPS
ssl: false
address: rabbitmq.internal-tools.svc.cluster.local
port: 5672
user: rabbitmq
apiport: 15672
apiuser: rabbitmq
password: rabbitmq
## Virtual hosts provide logical grouping and separation of resources.
## ref: https://www.rabbitmq.com/vhosts.html
vhost: analyzer
postgresql:
SecretName: ""
installdep:
enable: false
endpoint:
address: database-1.c1rzmtuv415c.us-east-1.rds.amazonaws.com
port: 5432
user: rpuser
dbName: reportportal
## Whether to use SSL
ssl: disable
# ssl: disable / require
password: asdfghjkl
## Number of database connections
connections:
elasticsearch:
secretName: ""
installdep:
enable: false
## Double entry moves test logs from PostgreSQL to Elastic-type engines
## Ref: https://reportportal.io/blog/double-entry-in-5.7.2
##
## ElasticSearch Performance tuning
## Ref: https://reportportal.io/docs/installation-steps/OptimalPerformanceHardwareSetup/#7-elasticsearch-performance-tuning
##
doubleEntry:
enable: true
endpoint: http://elasticsearch-master.internal-tools.svc.cluster.local:9200
user: elastic
password:
minio:
enabled: true
type: minio
secretName: ""
installdep:
enable: false
endpoint: http://minio.internal-tools.svc.cluster.local:9000
endpointshort: minio.internal-tools.svc.cluster.local:9000
region: ""
accesskey: minio
secretkey: minio123
accesskeyName: "access-key"
secretkeyName: "secret-key"
bucketPrefix: ""
defaultBucketName: ""
integrationSaltPath: ""
## Ingress configuration for the ui
## If you have installed ingress controller and want to expose application - set INGRESS.ENABLE to true.
## If you have some domain name set INGRESS.USEDOMAINNAME variable to true and set this fqdn to INGRESS.HOSTS
## If you don't have any domain names - set INGRESS.USEDOMAINNAME to false
ingress:
enable: true
## IF YOU HAVE SOME DOMAIN NAME SET INGRESS.USEDOMAINNAME to true
usedomainname: false
hosts:
- reportportal.k8.com
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/ssl-redirect: "false"
nginx.ingress.kubernetes.io/rewrite-target: /$2
nginx.ingress.kubernetes.io/x-forwarded-prefix: /$1
nginx.ingress.kubernetes.io/proxy-body-size: 128m
nginx.ingress.kubernetes.io/proxy-buffer-size: 512k
nginx.ingress.kubernetes.io/proxy-buffers-number: "4"
nginx.ingress.kubernetes.io/proxy-busy-buffers-size: 512k
nginx.ingress.kubernetes.io/proxy-connect-timeout: "8000"
nginx.ingress.kubernetes.io/proxy-read-timeout: "4000"
nginx.ingress.kubernetes.io/proxy-send-timeout: "4000"
tls: []
# - hosts:
# - reportportal.k8.com
# secretName: reportportal.k8.com-tls
## tolerations for all components, if any (requires Kubernetes >= 1.6)
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
tolerations: []
# - key: "key"
# operator: "Equal|Exists"
# value: "value"
# effect: "NoSchedule|PreferNoSchedule|NoExecute"
## RBAC is required for service-index in order to collect status/info over all services
rbac:
create: true
serviceAccount:
create: true
name: reportportal
## For AWS IAM role association use the following annotations
## See: https://docs.aws.amazon.com/eks/latest/userguide/specify-service-account-role.html
annotations: {}
rp:
infoEndpoint: "/info"
healthEndpoint: "/health"
## Extra init containers to e.g. wait for minio
extraInitContainers: {}
# - name: "wait-for-minio"
# image: "busybox"
# imagePullPolicy: "IfNotPresent"
# command:
# - sh
# - "-c"
# - "for i in `seq 1 300`; do sleep 1; if wget http://minio-minio.default.svc.cluster.local:9000/minio/health/live -q -O /dev/null ; then exit 0; fi; done; exit 1"