Skip to content

Commit

Permalink
OPSEXP-2324: allow for embeded pg sync to cope with more replicas and…
Browse files Browse the repository at this point in the history
… rolling upgrade scenarios (#1069)
  • Loading branch information
alxgomz authored Jan 12, 2024
1 parent c877651 commit ecadeaa
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
6 changes: 3 additions & 3 deletions helm/alfresco-content-services/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ dependencies:
version: 2.0.0
- name: alfresco-sync-service
repository: https://alfresco.github.io/alfresco-helm-charts/
version: 5.0.0-alpha.1
version: 5.0.0-alpha.2
- name: alfresco-search-enterprise
repository: https://alfresco.github.io/alfresco-helm-charts/
version: 3.1.0-alpha.1
Expand All @@ -47,5 +47,5 @@ dependencies:
- name: elasticsearch
repository: https://helm.elastic.co
version: 7.17.3
digest: sha256:8bf899da48dbc09ff55ecc8f6c8a84b59819ddc30a9cf1ee0458a4b754b07de5
generated: "2024-01-11T15:00:37.996027+05:30"
digest: sha256:72c9b1031796f50ab28e14b2b23440a79b6e8ec644ecf91e95cec151e14deac4
generated: "2024-01-12T16:02:06.93509+01:00"
2 changes: 1 addition & 1 deletion helm/alfresco-content-services/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ dependencies:
condition: alfresco-search.enabled
- name: alfresco-sync-service
repository: https://alfresco.github.io/alfresco-helm-charts/
version: 5.0.0-alpha.1
version: 5.0.0-alpha.2
condition: alfresco-sync-service.enabled
- name: alfresco-search-enterprise
version: 3.1.0-alpha.1
Expand Down
3 changes: 2 additions & 1 deletion helm/alfresco-content-services/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Please refer to the [documentation](https://github.com/Alfresco/acs-deployment/b
| https://alfresco.github.io/alfresco-helm-charts/ | alfresco-search-enterprise | 3.1.0-alpha.1 |
| https://alfresco.github.io/alfresco-helm-charts/ | alfresco-search(alfresco-search-service) | 2.0.0 |
| https://alfresco.github.io/alfresco-helm-charts/ | share(alfresco-share) | 0.3.0 |
| https://alfresco.github.io/alfresco-helm-charts/ | alfresco-sync-service | 5.0.0-alpha.1 |
| https://alfresco.github.io/alfresco-helm-charts/ | alfresco-sync-service | 5.0.0-alpha.2 |
| https://alfresco.github.io/alfresco-helm-charts/ | alfresco-transform-service | 1.0.0-alpha.2 |
| https://helm.elastic.co | elasticsearch | 7.17.3 |
| oci://registry-1.docker.io/bitnamicharts | postgresql-sync(postgresql) | 12.8.5 |
Expand Down Expand Up @@ -241,6 +241,7 @@ Please refer to the [documentation](https://github.com/Alfresco/acs-deployment/b
| postgresql-sync.enabled | bool | `true` | Toggle creation of the "in-cluster" test postgresql instance for Alfresco Sync service |
| postgresql-sync.image.tag | string | `"14.4.0"` | |
| postgresql-sync.nameOverride | string | `"postgresql-sync"` | |
| postgresql-sync.primary.extendedConfiguration | string | `"max_connections = 150\nshared_buffers = 512MB\neffective_cache_size = 2GB\nwal_level = minimal\nmax_wal_senders = 0\nmax_replication_slots = 0\nlog_min_messages = LOG\n"` | |
| postgresql-sync.primary.resources.limits.cpu | string | `"4"` | |
| postgresql-sync.primary.resources.limits.memory | string | `"4Gi"` | |
| postgresql-sync.primary.resources.requests.cpu | string | `"250m"` | |
Expand Down
8 changes: 8 additions & 0 deletions helm/alfresco-content-services/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,14 @@ postgresql-sync:
password: admin
database: syncservice-postgresql
primary:
extendedConfiguration: |
max_connections = 150
shared_buffers = 512MB
effective_cache_size = 2GB
wal_level = minimal
max_wal_senders = 0
max_replication_slots = 0
log_min_messages = LOG
resources:
requests:
cpu: 250m
Expand Down

0 comments on commit ecadeaa

Please sign in to comment.