Release date: Apr 24, 2024
!!! Important "Important changes to Community Supported Versions" We've updated our support policy to streamline our focus on one supported minor release at a time, rather than two. Additionally, we've extended the supplementary support period for the previous minor release to 3 months.
Features:
- PostgreSQL Image Catalogs: Introduced
ClusterImageCatalogandImageCatalogCRDs to manage operand container images based on PostgreSQL major version. This is facilitated through theCluster's.spec.imageCatalogRef stanza. This feature provides an alternative to the imageName option and will eventually replace it as the default method to define operand container images. - User-Defined Replication Slots: Enhanced the synchronization of physical replication slots to cover user-defined replication slots on the primary, via the newly introduced stanza
replicationSlots.synchronizeReplicas. - Configuration of Pod Disruption Budgets (PDB): Introduced the
.spec.enablePDBfield to disable PDBs on the primary instance, allowing proper eviction of the pod during maintenance operations. This is particularly useful for single-instance deployments. This feature is intended to replace the node maintenance window feature.
Enhancements:
- Users now have the capability to transition an existing cluster into replica mode, simplifying cross-datacenter switchover operations (#4261)
- Users can now customize the connection pooler service, including its type, labels, and annotations (#3384)
- Users can now configure the
wal_log_hintsPostgreSQL parameter (#4218) (#4218) - Fully Qualified Domain Names (FQDN) in URIs for automatically generated secrets (#4095)
- Cleanup of instance Pods not owned by the Cluster during Cluster restore (#4141)
- Command output of the plugin’s
statuscommand to show the status of PDBs (#4319) - Error detection when invoking
barman-cloud-wal-restoreinrecoverybootstrap (#4101)
Fixes:
- Ensured that before a switchover, the elected replica is in streaming replication (#4288)
- Correctly handle parsing errors of instances' LSN when sorting them (#4283)
- Recreate the primary Pod if there are no healthy standbys available to promote (#4132)
- Cleanup
PGDATAin case of failure of the restore job (#4151) - Reload certificates on configuration update (#3705)
cnpgplugin forkubectl:
Changes:
- Operator images are now based on
gcr.io/distroless/static-debian12:nonroot(#4201) - The Grafana dashboard now resides at https://github.com/cloudnative-pg/grafana-dashboards (#4154)