timescale / helm-charts

Configuration and Documentation to run TimescaleDB in your Kubernetes cluster
Apache License 2.0
263 stars 223 forks source link

timescaledb-single without persistent storage #637

Open MSandro opened 9 months ago

MSandro commented 9 months ago

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 commented 8 months ago

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