Skip to content

Commit

Permalink
chore: memory sizing
Browse files Browse the repository at this point in the history
  • Loading branch information
ychung-mot committed May 2, 2024
1 parent f450446 commit 271783d
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
8 changes: 4 additions & 4 deletions crunchydb/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ crunchy-postgres:
storageClassName: netapp-block-standard
requests:
cpu: 20m
memory: 256Mi
memory: 512Mi
limits:
cpu: 100m
memory: 512Mi
memory: 768Mi
replicaCertCopy:
requests:
cpu: 20m
memory: 32Mi
memory: 64Mi
limits:
cpu: 50m
memory: 64Mi
memory: 128Mi

pgBackRest:
retention: "30" # Ideally a larger number such as 30 backups/days
Expand Down
8 changes: 4 additions & 4 deletions crunchydb/values-uat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ crunchy-postgres:
storageClassName: netapp-block-standard
requests:
cpu: 20m
memory: 256Mi
memory: 512Mi
limits:
cpu: 100m
memory: 512Mi
memory: 768Mi
replicaCertCopy:
requests:
cpu: 20m
memory: 32Mi
memory: 64Mi
limits:
cpu: 50m
memory: 64Mi
memory: 128Mi

pgBackRest:
retention: "10" # Ideally a larger number such as 30 backups/days
Expand Down
8 changes: 4 additions & 4 deletions helm/main/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ frontend:
resources:
limits:
cpu: 30m
memory: 70Mi
memory: 140Mi
requests:
cpu: 20m
memory: 50Mi
memory: 70Mi

env:
'API_HOST': '/api'
Expand All @@ -65,10 +65,10 @@ backend:
resources:
limits:
cpu: 100m
memory: 300Mi
memory: 500Mi
requests:
cpu: 20m
memory: 200Mi
memory: 300Mi

env:
'API_HOST': '/api'
Expand Down
8 changes: 4 additions & 4 deletions helm/main/values-uat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ frontend:
resources:
limits:
cpu: 30m
memory: 70Mi
memory: 140Mi
requests:
cpu: 20m
memory: 50Mi
memory: 70Mi

env:
'API_HOST': '/api'
Expand Down Expand Up @@ -73,10 +73,10 @@ backend:
resources:
limits:
cpu: 100m
memory: 300Mi
memory: 500Mi
requests:
cpu: 20m
memory: 200Mi
memory: 300Mi

env:
'API_HOST': '/api'
Expand Down

0 comments on commit 271783d

Please sign in to comment.