Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions charts/paradedb/templates/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,11 @@ spec:
{{ end }}
cron.database_name: postgres

{{- with .Values.cluster.replicationSlots }}
replicationSlots:
{{- toYaml . | nindent 4 }}
{{- end }}

{{- if not (and (empty .Values.cluster.roles) (empty .Values.cluster.services)) }}
managed:
{{- with .Values.cluster.services }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@ spec:
postgresUID: 1001
postgresGID: 1002
instances: 2
replicationSlots:
highAvailability:
enabled: true
slotPrefix: "_cnpg_"
updateInterval: 30
synchronizeReplicas:
enabled: true
excludePatterns:
- "^foo"
postgresql:
ldap:
server: 'openldap.default.svc.cluster.local'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,15 @@ cluster:
inRoles:
- pg_monitor
- pg_signal_backend
replicationSlots:
highAvailability:
enabled: true
slotPrefix: "_cnpg_"
updateInterval: 30
synchronizeReplicas:
enabled: true
excludePatterns:
- "^foo"
postgresql:
ldap:
server: 'openldap.default.svc.cluster.local'
Expand Down
4 changes: 2 additions & 2 deletions charts/paradedb/test/pooler/chainsaw-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ metadata:
spec:
timeouts:
apply: 1s
assert: 20s
cleanup: 30s
assert: 2m
cleanup: 1m
steps:
- name: Install the non-default configuration cluster
try:
Expand Down
14 changes: 14 additions & 0 deletions charts/paradedb/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,20 @@ cluster:
# - name: custom-queries-secret
# key: custom-queries

# -- Replication slot management. Controls both physical-slot HA between
# CNPG instances and synchronization of user-created logical replication
# slots so that CDC consumers (e.g. Artie, Debezium) survive failover.
# Requires PostgreSQL 17+ for logical-slot synchronization (failover slots).
# See: https://cloudnative-pg.io/documentation/current/replication/#replication-slots
replicationSlots: {}
# highAvailability:
# enabled: true
# slotPrefix: "_cnpg_"
# updateInterval: 30
# synchronizeReplicas:
# enabled: true
# excludePatterns: []

postgresql:
# -- PostgreSQL configuration options (postgresql.conf)
parameters: {}
Expand Down
Loading