-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bitnami Image + Official Helm Chart Doesn't Work With Replication #67
Comments
Have you looked at #60? |
There is also this: https://github.com/timescale/timescaledb-kubernetes |
After two weeks of banging my head to the wall, I finally managed to get replication to work.
Here are my configuration overrides: postgresql:
image:
repository: agronholm/timescaledb
tag: 1.5.1-pg11-bitnami
replication:
enabled: true
user: replicator
password: redacted
livenessProbe:
enabled: false
postgresqlExtendedConf:
shared_buffers: 256MB
effective_cache_size: 768MB
maintenance_work_mem: 128MB
work_mem: 1310kB
wal_buffers: 7864kB
min_wal_size: 4GB
max_wal_size: 8GB
default_statistics_target: "500"
random_page_cost: "1.1"
checkpoint_completion_target: "0.9"
max_connections: "100"
max_locks_per_transaction: "64"
effective_io_concurrency: "2" |
Thank you @agronholm for the provided information. Closing since you found a solution. |
I would rather see #60 merged which actually fixes the issue 😉 |
When substituting the latest TimescaleDB Bitnami image (PG 11, TimeScale 1.3.2) and using the official PostgreSQL helm chart, the replication slaves fail to start because TimescaleDB is trying to install the extension, but it is not supplying the password for the
postgres
user. The reason seems to be differences in how the master and slaves start up. It looks like the TimescaleDB extension installation script relies on the HBA authentication being set totrust
mode.The text was updated successfully, but these errors were encountered: