From 7d82c7f645e233c28e1082004eb87d01ed8f92b2 Mon Sep 17 00:00:00 2001 From: Alex Chapellon Date: Fri, 12 Jan 2024 09:28:33 +0100 Subject: [PATCH] OPSEXP-2324: shrink sync db pool to allow for several pods on smaller pg server (#188) --- charts/alfresco-sync-service/Chart.yaml | 2 +- charts/alfresco-sync-service/README.md | 4 ++-- charts/alfresco-sync-service/values.yaml | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/charts/alfresco-sync-service/Chart.yaml b/charts/alfresco-sync-service/Chart.yaml index 86f7bc98..8617bd31 100644 --- a/charts/alfresco-sync-service/Chart.yaml +++ b/charts/alfresco-sync-service/Chart.yaml @@ -8,7 +8,7 @@ keywords: name: alfresco-sync-service sources: - https://github.com/Alfresco/acs-deployment -version: 5.0.0-alpha.1 +version: 5.0.0-alpha.2 appVersion: 4.0.1 icon: https://avatars0.githubusercontent.com/u/391127?s=200&v=4 dependencies: diff --git a/charts/alfresco-sync-service/README.md b/charts/alfresco-sync-service/README.md index 59cc4d78..c394f4bd 100644 --- a/charts/alfresco-sync-service/README.md +++ b/charts/alfresco-sync-service/README.md @@ -1,6 +1,6 @@ # alfresco-sync-service -![Version: 5.0.0-alpha.1](https://img.shields.io/badge/Version-5.0.0--alpha.1-informational?style=flat-square) ![AppVersion: 4.0.1](https://img.shields.io/badge/AppVersion-4.0.1-informational?style=flat-square) +![Version: 5.0.0-alpha.2](https://img.shields.io/badge/Version-5.0.0--alpha.2-informational?style=flat-square) ![AppVersion: 4.0.1](https://img.shields.io/badge/AppVersion-4.0.1-informational?style=flat-square) Alfresco Sync Service @@ -33,7 +33,7 @@ Checkout [alfresco-content-services chart doc](https://github.com/Alfresco/acs-d | database.password | string | `nil` | JDBC password to use to connect to the DB | | database.url | string | `nil` | JDBC url to connect to the external DB | | database.username | string | `nil` | JDBC username to use to connect to the DB | -| environment.JAVA_OPTS | string | `"-Dsync.metrics.reporter.graphite.enabled=false -XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80"` | | +| environment.JAVA_OPTS | string | `"-Dsql.db.pool.initial=25 -Dsql.db.pool.max=75 -Dsync.metrics.reporter.graphite.enabled=false -XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80"` | | | global | object | `{"alfrescoRegistryPullSecrets":"quay-registry-secret","strategy":{"rollingUpdate":{"maxSurge":1,"maxUnavailable":0}}}` | Global definition of Docker registry pull secret which can be overridden from parent ACS Helm chart(s) | | image.internalPort | int | `9090` | | | image.pullPolicy | string | `"IfNotPresent"` | | diff --git a/charts/alfresco-sync-service/values.yaml b/charts/alfresco-sync-service/values.yaml index a632199a..e43d09c1 100644 --- a/charts/alfresco-sync-service/values.yaml +++ b/charts/alfresco-sync-service/values.yaml @@ -22,6 +22,8 @@ image: internalPort: 9090 environment: JAVA_OPTS: >- + -Dsql.db.pool.initial=25 + -Dsql.db.pool.max=75 -Dsync.metrics.reporter.graphite.enabled=false -XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80 service: