https://github.com/valentinsavenko/postgres-pgvecto-rs
A Helm chart for deploying PostgreSQL, with pgvecto-rs extension and simple backup and restore capabilities
https://github.com/valentinsavenko/postgres-pgvecto-rs
backup-script helm-chart pgvecto-rs pgvector postgres
Last synced: 4 months ago
JSON representation
A Helm chart for deploying PostgreSQL, with pgvecto-rs extension and simple backup and restore capabilities
- Host: GitHub
- URL: https://github.com/valentinsavenko/postgres-pgvecto-rs
- Owner: valentinsavenko
- Created: 2025-05-21T12:06:27.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-05-21T13:30:46.000Z (5 months ago)
- Last Synced: 2025-05-21T13:36:43.679Z (5 months ago)
- Topics: backup-script, helm-chart, pgvecto-rs, pgvector, postgres
- Homepage:
- Size: 61.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# postgres-pgvecto-rs
Basic postgres chart that I build for usage with the [Immich Chart](https://github.com/immich-app/immich-charts/blob/main/README.md).
Which requires pgvecto-rs/pgvector.
Most charts fail to use the official docker image form tensorchord out of the box.The data AND backups are all stored in a single PV for now, so make sure it's a backuped folder!
```bash
# install
CHART=https://github.com/valentinsavenko/postgres-pgvecto-rs/raw/refs/heads/main/postgres-pgvecto-rs-0.1.8.tgz
RELEASE_NAME=psql-pshelm install ${RELEASE_NAME} $ ${CHART} -f values.yaml
```# database backups
the chart creates a cronjob that runs weekly and creates 10 weeks of backups
```bash
# trigger backup NOW
kubectl create job --from=cronjob/${RELEASE_NAME}-postgres-backup postgres-backup-test# render restore job template with your conf
helm template ${RELEASE_NAME} ${CHART} --set restore.enabled=true -f values.yaml --show-only templates/job.yaml >> db-job-restore-backup.yaml# restore most recent bkp
kubectl apply -f db-job-restore-backup.yaml
```
adjust the jobs command script if you want a hardcoded backup-foo.sql to be used instead!