Skip to content

Commit

Permalink
Merge pull request #483 from patchkez/postgresql_limits
Browse files Browse the repository at this point in the history
increase requests/limits for postgresql pod
  • Loading branch information
LightOfHeaven1994 authored Feb 20, 2024
2 parents 925c61c + 9d7f76e commit 7f35460
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
8 changes: 7 additions & 1 deletion ocp-templates/mpp/backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,13 @@ objects:
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
resources: {}
resources:
limits:
cpu: '1'
memory: 1Gi
requests:
cpu: 500m
memory: 512Mi
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
dnsPolicy: ClusterFirst
Expand Down
6 changes: 5 additions & 1 deletion ocp-templates/mpp/postgres.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,11 @@ objects:
timeoutSeconds: 10
resources:
limits:
memory: 512Mi
memory: 6Gi
cpu: '1'
requests:
memory: 4Gi
cpu: '1'
securityContext:
capabilities: {}
privileged: false
Expand Down

0 comments on commit 7f35460

Please sign in to comment.