Skip to content

Commit

Permalink
fix: fce updates-resources (#345)
Browse files Browse the repository at this point in the history
  • Loading branch information
igorrenquin authored Jul 4, 2024
1 parent b06d54e commit ab6d2b6
Showing 1 changed file with 50 additions and 9 deletions.
59 changes: 50 additions & 9 deletions .kontinuous/env/prod/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ n8n:
# We're not setting limit=request as :
# - usually n8n process consumes almost no resource
# - a cron runs every night but does nothing except once a month when a new file is added. Then it can use up to 2cpu.
requests:
cpu: 100m
memory: 256Mi
limits:
cpu: "2"
memory: 1024Mi
memory: 1.5Gi
env:
- name: DB_POSTGRESDB_DATABASE
valueFrom:
Expand Down Expand Up @@ -68,21 +71,38 @@ redis:
memory: 1Gi

graphiql:
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 200m
memory: 2566Mi
autoscale:
enabled: true

front:
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 200m
memory: 256Mi
autoscale:
enabled: true

server:
~needs: [build-server, pg]
autoscale:
enabled: true
resources:
requests:
cpu: 100m
memory: 386Mi
limits:
cpu: "500m"
memory: 1280Mi
cpu: 200m
memory: 512Mi
autoscale:
enabled: true
env:
- name: PG_DB
valueFrom:
Expand Down Expand Up @@ -116,8 +136,11 @@ strapi:
~needs: [build-strapi, pg-strapi]
strategyType: Recreate
resources:
requests:
cpu: 100m
memory: 512Mi
limits:
cpu: "500m"
cpu: 200m
memory: 512Mi
env:
- name: DATABASE_NAME
Expand Down Expand Up @@ -147,10 +170,28 @@ strapi:
name: pg-strapi-superuser

pg:
~chart: pg
cnpg-cluster:
resources:
requests:
memory: 1Gi
limits:
cpu: "1"
memory: 1Gi

pg-n8n:
~chart: pg
cnpg-cluster:
resources:
requests:
memory: 1Gi
limits:
cpu: "1"
memory: 1Gi

pg-strapi:
~chart: pg
cnpg-cluster:
resources:
requests:
memory: 1Gi
limits:
cpu: "1"
memory: 1Gi

0 comments on commit ab6d2b6

Please sign in to comment.