Skip to content

Commit

Permalink
fix: recosante-resources (#559)
Browse files Browse the repository at this point in the history
Co-authored-by: Igor R <[email protected]>
  • Loading branch information
matmut7 and igorrenquin authored Sep 10, 2024
1 parent f5d8e3f commit f44b082
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 18 deletions.
66 changes: 55 additions & 11 deletions .kontinuous/env/prod/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,50 +29,94 @@ pg:
size: "50Gi"
resources:
requests:
cpu: 200m
memory: 3Gi
limits:
cpu: 1
memory: 3Gi

pg-api-node:
cnpg-cluster:
persistence:
size: "50Gi"
resources:
requests:
cpu: 500m
memory: 2Gi
limits:
cpu: 1
memory: 2Gi

flower:
replicas: 1
host: "flower-recosante.fabrique.social.gouv.fr"

resources:
requests:
cpu: 100m
memory: 768Mi
limits:
cpu: 300m
memory: 1Gi

redis:
strategyType: Recreate # mandatory because volume is RWO
addVolumes:
- redis
volumeMounts:
- name: redis
mountPath: /data

resources:
requests:
cpu: 100m
memory: 256Mi
limits:
cpu: 300m
memory: 256Mi

api:
replicas: 1
resources:
requests:
cpu: 100m
memory: 4Gi
limits:
cpu: 300m
memory: 6Gi

api-node:
resources:
requests:
cpu: 300m
memory: 600Mi
cpu: 100m
memory: 768Mi
limits:
cpu: 400m
memory: 800Mi
cpu: 300m
memory: 1Gi

frontend:
resources:
requests:
cpu: 500m
memory: 1Gi
cpu: 300m
memory: 1280Mi
limits:
cpu: 750m
memory: 1.5Gi
cpu: 400m
memory: 1536Mi

frontend-next:
certSecretName: frontend-beta

resources:
requests:
cpu: 100m
memory: 512Mi
limits:
cpu: 200m
memory: 786Mi

indice:
replicas: 1
resources:
requests:
cpu: 100m
memory: 1Gi
limits:
cpu: 200m
memory: 2Gi
10 changes: 3 additions & 7 deletions .kontinuous/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,9 @@ api-node:
name: "{{ .Values.global.pgApiNodeSecretName }}"
- secretRef:
name: api-node-sealed-secret
resources:
requests:
cpu: 100m
memory: 200Mi
limits:
cpu: 150m
memory: 300Mi
annotations:
oblik.socialgouv.io/min-request-cpu: 300m
oblik.socialgouv.io/min-limit-cpu: 300m

frontend:
~chart: app
Expand Down

0 comments on commit f44b082

Please sign in to comment.