Skip to content

Commit

Permalink
feat: Tune postgresql - helm chart (#822)
Browse files Browse the repository at this point in the history
Signed-off-by: Milos Backonja <milos.backonja@iohk.io>
  • Loading branch information
milosbackonja authored Dec 20, 2023
1 parent 22a78ec commit 5fcd9fb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions infrastructure/charts/agent/templates/postgresql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ spec:
agent: agent-admin
postgresql:
version: "14"
parameters: # Expert section
shared_buffers: {{ .Values.database.postgres.sharedBuffers }}
max_connections: {{ .Values.database.postgres.maxConnections }}

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

0 comments on commit 5fcd9fb

Please sign in to comment.