Skip to content

Commit

Permalink
fix: resources
Browse files Browse the repository at this point in the history
  • Loading branch information
matmut7 committed Jul 24, 2024
1 parent 62b4591 commit 8eeb248
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 8 deletions.
18 changes: 18 additions & 0 deletions .kontinuous/env/prod/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,24 @@ redis:
api:
replicas: 1

api-node:
resources:
requests:
cpu: 300m
memory: 600Mi
limits:
cpu: 400m
memory: 800Mi

frontend:
resources:
requests:
cpu: 200m
memory: 400Mi
limits:
cpu: 300m
memory: 600Mi

frontend-next:
certSecretName: frontend-beta

Expand Down
16 changes: 8 additions & 8 deletions .kontinuous/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ api-node:
name: api-node-sealed-secret
resources:
requests:
cpu: 0.1
memory: 128Mi
cpu: 100m
memory: 200Mi
limits:
cpu: 1
memory: 1Gi
cpu: 150m
memory: 300Mi

frontend:
~chart: app
Expand All @@ -70,11 +70,11 @@ frontend:
enabled: false
resources:
requests:
cpu: 0.1
memory: 128Mi
cpu: 100m
memory: 200Mi
limits:
cpu: 1
memory: 1Gi
cpu: 150m
memory: 300Mi
env:
- name: GATSBY_API_BASE_URL
value: "https://{{ tpl .Values.global.apiHost . }}" # TODO for some reason, without tpl the value inside apiHost is not evaluated
Expand Down

0 comments on commit 8eeb248

Please sign in to comment.