Skip to content

Commit 93f3a75

Browse files
authored
Merge pull request #1391 from eclipse-tractusx/chore/TRACEX-XXX-use-goldilocks-resource-reccomendations
chore: TRACEX-XXX update resource requests with goldilocks recommenda…
2 parents 804e78a + e59b2af commit 93f3a75

File tree

3 files changed

+34
-32
lines changed

3 files changed

+34
-32
lines changed

charts/traceability-foss/charts/backend/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ resources:
8888
cpu: 500m
8989
memory: 512Mi
9090
requests:
91-
cpu: 250m
91+
cpu: 15m
9292
memory: 512Mi
9393

9494
nodeSelector: {}

charts/traceability-foss/charts/frontend/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ resources:
8787
cpu: 500m
8888
memory: 512Mi
8989
requests:
90-
cpu: 250m
90+
cpu: 15m
9191
memory: 512Mi
9292

9393
nodeSelector: { }

charts/traceability-foss/values.yaml

Lines changed: 32 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ frontend:
104104
cpu: 500m
105105
memory: 512Mi
106106
requests:
107-
cpu: 250m
107+
cpu: 15m
108108
memory: 512Mi
109109

110110
nodeSelector: {}
@@ -222,7 +222,7 @@ backend:
222222
cpu: 500m
223223
memory: 512Mi
224224
requests:
225-
cpu: 250m
225+
cpu: 15m
226226
memory: 512Mi
227227

228228
nodeSelector: {}
@@ -364,7 +364,7 @@ pgadmin4:
364364
cpu: 1000m
365365
memory: 512Mi
366366
requests:
367-
cpu: 256m
367+
cpu: 15m
368368
memory: 512Mi
369369

370370
#########################
@@ -382,19 +382,22 @@ postgresql:
382382
database: "trace"
383383
username: "traceuser"
384384

385-
resources:
386-
limits:
387-
cpu: 500m
388-
memory: 512Mi
389-
requests:
390-
cpu: 250m
391-
memory: 512Mi
385+
primary:
386+
persistence:
387+
size: 4Gi
388+
resources:
389+
limits:
390+
cpu: 500m
391+
memory: 512Mi
392+
requests:
393+
cpu: 15m
394+
memory: 512Mi
392395

393396
#########################
394397
# IRS configuration #
395398
#########################
396399
item-relationship-service:
397-
enabled: false # <irs-helm.enabled>
400+
enabled: false # <item-relationship-service.enabled>
398401
nameOverride: "tracex-irs"
399402
fullnameOverride: "tracex-irs"
400403

@@ -403,7 +406,7 @@ item-relationship-service:
403406
cpu: 500m
404407
memory: 512Mi
405408
requests:
406-
cpu: 250m
409+
cpu: 15m
407410
memory: 512Mi
408411
###################################
409412
# EDC Consumer configuration #
@@ -420,14 +423,13 @@ tractusx-connector:
420423
cpu: 500m
421424
memory: 512Mi
422425
requests:
423-
cpu: 250m
426+
cpu: 15m
424427
memory: 512Mi
425428

426429
##################################
427430
# EDC Postgres Configuration #
428431
##################################
429432
postgresql:
430-
enabled: false
431433
auth:
432434
username: "CHANGEME"
433435
password: "CHANGEME"
@@ -436,22 +438,22 @@ tractusx-connector:
436438
jdbcUrl: "CHANGEME"
437439

438440
###################################
439-
# IRS EDC Consumer configuration #
441+
# EDC Database configuration #
440442
###################################
441443
edc-postgresql:
442-
nameOverride: "tracex-consumer-edc-postgresql"
443-
fullnameOverride: "tracex-consumer-edc-postgresql"
444-
enabled: false
444+
primary:
445+
resources:
446+
limits:
447+
cpu: 200m
448+
memory: 1Gi
449+
requests:
450+
cpu: 15m
451+
memory: 1Gi
452+
nameOverride: 'CHANGE_ME'
453+
fullnameOverride: 'CHANGE_ME'
454+
enabled: true
445455
auth:
446-
postgresPassword: "CHANGEME"
447-
password: "CHANGEME"
448-
database: "trace"
449-
username: "traceuser"
450-
451-
resources:
452-
limits:
453-
cpu: 500m
454-
memory: 512Mi
455-
requests:
456-
cpu: 250m
457-
memory: 512Mi
456+
database: edc
457+
username: 'CHANGE_ME'
458+
postgresPassword: 'CHANGE_ME'
459+
password: 'CHANGE_ME'

0 commit comments

Comments
 (0)