Back up PostgreSQL
1
Method 3: Persistent Volume Claim snapshots / Velero (in-cluster PostgreSQL)
1
kubectl get pvc -n <namespace>
2
Switch Kubernetes (Helm) to external PostgreSQL
1
CREATE ROLE syntho WITH LOGIN PASSWORD '<strong-password>';
CREATE DATABASE "syntho-core" OWNER syntho;
CREATE DATABASE "syntho-backend" OWNER syntho;2
core:
db:
host: <external-postgres-hostname-or-ip>
port: 5432
name: syntho-core
username: syntho
password: <strong-password>
backend:
db:
host: <external-postgres-hostname-or-ip>
port: 5432
name: syntho-backend
user: syntho
password: <strong-password>3
core:
database_enabled: false
backend:
database_enabled: false4
helm upgrade --install <release-name> <chart> -f values.yamlLast updated
Was this helpful?

