When we migrate the airflow instances from "Puppet" to Kubernetes, we'd need to retain all of the data currently stored in an-db1001.
Cloudnative-pg supports a pg_basebackup bootstrap mode that allows it to copy the data of a live PG cluster via streaming replication (see https://cloudnative-pg.io/documentation/current/bootstrap/#bootstrap-from-another-cluster). However, this only works between 2 clusters of the same major version. We currently run PG 13 on an-db1001.
To enable streaming replication, we could:
- upgrade an-db1001 to bookworm, which would allow us to upgrade to PG 15
- deploy a cloudnative PG cluster based on PG 13, and perform subsequent upgrades after the migration