CloudNative Postgres
CloudNative Postgres uses an Operator to watch for new database cluster- and backup- definitions as provided by CRDs.
Operator
The operator is deployed via helm release
Barman Cloud Plugin
CloudNativePG’s in-tree Barman Cloud integration is deprecated; backups/WAL archiving are handled by the Barman Cloud plugin.
This repo installs the plugin as a separate Flux app under cloudnative-pg/barman.
Cluster & Backups
Local storage is used by default; S3-compatible storage can be used as a live WAL backup.
Restore
On versioning: If you end up with an older cloudnative pg backup (i.e. i have a pg14 one) but you’re using a newer operator that defaults to newer (i.e. > 15.1), you wont be able to restore as it will whine about versions. Add an image tag to the cluster spec to deploy a second cluster with a specifically downgraded ver to restore without having to juggle around changing the operator helm etc
CLI
Install the kubectl plugin