helm-charts icon indicating copy to clipboard operation
helm-charts copied to clipboard

timescaledb-single without persistent storage

Open MSandro opened this issue 1 year ago • 1 comments

Hello, I am currently try to deploy a temporary timescaledb (1 replica) for our local dev environments in k3s. we don't need persistent storage or backups there. I have disabled both in the values.yaml but once a redeploy is in progress, the db does not come up again. We have a post-init Script to prepair the DB which should be used on every start of the pod. but instead it seems to try to do a restore!

2023-12-21 08:22:33,818 ERROR: Error creating replica using method pgbackrest: /etc/timescaledb/scripts/pgbackrest_restore.sh exited with code=1
2023-12-21 08:22:33,818 ERROR: failed to bootstrap (without leader)

how to prevent this?

MSandro avatar Dec 22 '23 12:12 MSandro

could anyone help. maybe someone knows if this is a missing function, or what I have to consider when configuring.

MSandro avatar Jan 10 '24 06:01 MSandro