Skip to content

Commit

Permalink
fix: Change resource defaults for postgres (#827)
Browse files Browse the repository at this point in the history
Signed-off-by: Milos Backonja <milos.backonja@iohk.io>
  • Loading branch information
milosbackonja committed Dec 20, 2023
1 parent 860da1c commit 87809c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
3 changes: 0 additions & 3 deletions infrastructure/charts/agent/templates/postgresql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ spec:
agent: agent-admin
postgresql:
version: "14"
parameters: # Expert section
shared_buffers: {{ .Values.database.postgres.sharedBuffers | quote }}
max_connections: {{ .Values.database.postgres.maxConnections | quote }}

{{- if .Values.keycloak.enabled }}
---
Expand Down
10 changes: 4 additions & 6 deletions infrastructure/charts/agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,13 @@ database:
managingTeam: atala
databaseSize: 4Gi
numberOfInstances: 2
sharedBuffers: 125MB
maxConnections: 40
resources:
requests:
cpu: 10m
memory: 100Mi
cpu: 100m
memory: 256Mi
limits:
cpu: 500m
memory: 500Mi
cpu: 700m
memory: 1024Mi

vdrManager:
host: chart-base-node-service
Expand Down

0 comments on commit 87809c4

Please sign in to comment.