Skip to content

Commit

Permalink
fix(api): ajout de ressources et d'un replica sur le backend
Browse files Browse the repository at this point in the history
  • Loading branch information
pYassine committed Sep 4, 2023
1 parent b46db82 commit 4b6817a
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .kontinuous/env/prod/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ backend-cron:
replicas: 1
addVolumes:
- files
resources:
requests:
cpu: 0.5
memory: 1Gi
limits:
cpu: 3
memory: 3Gi
envFrom:
- secretRef:
name: "{{ .Values.global.pgSecretName }}"
Expand Down Expand Up @@ -68,13 +75,13 @@ backend-cron:
backend:
host: "domifa-api.{{ .Values.global.domain }}"
autoscale:
minReplicas: 2
maxReplicas: 6
minReplicas: 3
maxReplicas: 8
enabled: true
resources:
requests:
cpu: 0.5
memory: 1Gi
cpu: 1
memory: 2Gi
limits: # exports need a lot of CPU/RAM ATM
cpu: 3
memory: 3Gi
Expand Down

0 comments on commit 4b6817a

Please sign in to comment.