timescale / helm-charts

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

restore does not work properly from the bucket ,after restore i get this message "Waiting for PostgreSQL to become available" #563

Open malek19999 opened 1 year ago

malek19999 commented 1 year ago

i had deployed timescaledb single node in k3s cluster , and i configure it to bootsrap backup from s3 bucket , and when i deploy it i see that the restore complete , but timescale does not get ready , it send this message every second "restore_or_initdb - Waiting for PostgreSQL to become available" i use your officiel helm chart 'https://charts.timescale.com/' and this is my values file

image: repository: timescale/timescaledb-ha tag: pg14.5-ts2.8.1-p1

bootstrapFromBackup: enabled: True repo1-path: /alpha/backbone-metrics-tsdb-alpha

backup: enabled: true pgBackRest: compress-type: lz4 process-max: 4 start-fast: "y" repo1-retention-diff: 2 repo1-retention-full: 2 repo1-type: s3 repo1-cipher-type: "none" repo1-s3-region: fr-par repo1-s3-endpoint: s3.fr-par.scw.cloud jobs:

secrets: pgbackrest: PGBACKREST_REPO1_S3_REGION: "fr-par" PGBACKREST_REPO1_S3_KEY: "s"-KEY" PGBACKREST_REPO1_S3_KEY_SECRET: "s3-key-secret" PGBACKREST_REPO1_S3_BUCKET: "alpha" PGBACKREST_REPO1_S3_ENDPOINT: "s3.fr-par.scw.cloud" patroni: postgresql: create_replica_methods:

persistentVolumes: data: accessModes:

and i have feer to get the same issue in production