Skip to content

Commit

Permalink
increase ressources
Browse files Browse the repository at this point in the history
  • Loading branch information
m-maillot committed Oct 15, 2024
1 parent a15d56c commit 3c6479d
Showing 1 changed file with 25 additions and 2 deletions.
27 changes: 25 additions & 2 deletions .kontinuous/env/dev/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,28 @@ jobs:
buildArgs:
NEXT_PUBLIC_BASE_PATH: https://www-{{.Values.global.host}}
post-restore:
~needs: [pg, hasura]
~needs: [ pg, hasura ]
use: psql
with:
sqlFile: .kontinuous/sql/post-restore.sql
pgSecretRefName: pg-app

hasura:
imagePackage: hasura
~needs: [build-hasura]
~needs: [ build-hasura ]
~preDeploy.cleaner:
match:
kind: Deployment
value: true
autoscale:
enabled: true
resources:
limits:
cpu: "1000m"
memory: "1.5Gi"
requests:
cpu: "500m"
memory: "1Gi"
envFrom:
- secretRef:
name: pg-app
Expand All @@ -27,6 +36,14 @@ hasura:
name: hasura

export:
replicas: 1
resources:
limits:
cpu: "2000m"
memory: "4096Mi"
requests:
cpu: "1500m"
memory: "2Gi"
env:
- name: "BRANCH_NAME_SLUG"
value: "{{.Values.global.branchSlug32}}"
Expand All @@ -39,6 +56,12 @@ pg:
kind: Cluster
value: true
cnpg-cluster:
resources:
requests:
memory: 1Gi
limits:
cpu: "1"
memory: 1Gi
backup:
# don't enable backup because we would need a new path each time as the cluster is recreated
~tpl~enabled: "false"
Expand Down

0 comments on commit 3c6479d

Please sign in to comment.