3 ms·
I know that, I was asking more about the specifics of the Crunchydata postgres operator since they have replication built-in. If it was just them using the volu
by 5Qn8mNbc2FNCiVV 4y ago
I know that, I was asking more about the specifics of the Crunchydata postgres operator since they have replication built-in. If it was just them using the volumes and doing the replication on the application level (not using k8s storage management, idk how to better describe it) it'd be easy. If they expect me however to provide a Storageclass that provides replication on top of the volumes it'd be more annoying.
I could try this out myself to be honest, but I didn't quite get to it until now
- knewter 4y agoPg manages replication. If you use something like longhorn to replicate the volume you're just wasting storage - run pg replicas and stream Wal to object storage with wal-g, which the operator probably does (I user stackgres, and it does)
- INTPenis 4y agoI think you misunderstand, crunchydata only deploys postgresql and provisions streaming replication between postgres nodes using patroni, which provisions the postgresql.conf necessary when you choose more than one replica in the PostgresCluster object definition.