Skip to content

Releases: canonical/postgresql-k8s-operator

Revisions 494, 495

18 Feb 14:06
9ed1b7c
Compare
Choose a tag to compare

A new revision of Charmed PostgreSQL K8s has been published in the 14/stable channel on Charmhub.

See also: Releases overview page, How to perform an upgrade

What's Changed

This section outlines the most important highlights, features and bug fixes in this release.

Highlights

Features

Bug fixes

Full Changelog: rev462...rev494

Requirements

The minimum Juju version required to reliably operate all features in this release is v3.6.1.

See the system requirements for more details about Juju versions and other software and hardware prerequisites.

Revisions 462, 463

19 Dec 12:39
7903d93
Compare
Choose a tag to compare

A new revision of Charmed PostgreSQL operator for Kubernetes has been published in the 14/stable channel.

See also: Releases overview page, How to perform an upgrade

What's changed

This section outlines the most important highlights, features and bug fixes in this release.

Features

  • S3 backups improvements (PR #750)
  • Added pgAudit plugin/extension (PR #688) (DPE-5116)
  • Removed patching of private ops class. (PR #692)
  • Switched charm libs from tempo_k8s to tempo_coordinator_k8s and test relay support of tracing traffic through grafana-agent-k8s (PR #725)
  • Added check for low storage space on pgdata volume (PR #685) (DPE-5301)
  • Re-enabled log forwarding (PR #671)
  • Avoid replication slot deletion (PR #680) (DPE-3887)
  • Added pgBackRest logrotate configuration (PR #722) (DPE-5600)
  • Grant priviledges to non-public schemas (PR #742) (DPE-5387)
  • Added TLS flag + CA to relation databag (PR #719) (DPE-5484)
  • Added warning logs to Patroni reinitialisation (PR #753) (DPE-5712)
  • Reduced pgdate permissions (PR #759) (DPE-5915)
  • Split off new interface client app tests (PR #761)
  • Temporarily disable log forwarding (PR #757)
  • Changed owner of functions, procedures and aggregates (PR #773)
  • Only update tls flags on leader (PR #770)
  • Preload shared libs on normal PG start (PR #774) (DPE-6033)

Bug fixes

  • Fixed PITR backup test instabilities (PR #690)
  • Fixed some postgresql.conf parameters for hardening (PR #702) (DPE-5511)
  • Fixed event deferring issue with missing S3 relation (PR #762) (DPE-5934)
  • Fixed connection rejection rule in pg_hba.conf (PR #751) (DPE-5689)

Full Changelog: rev444...rev462

Known limitations

Requirements

The minimum Juju version required to reliably operate all features in this release is v.3.6.1.

See the system requirements for more details about Juju versions and other software and hardware prerequisites.

Revisions 444, 445

12 Nov 20:32
b41e4f2
Compare
Choose a tag to compare

A new revision of Charmed PostgreSQL operator for Kubernetes has been published in the 14/stable channel.

See also: Releases overview page, How to perform an upgrade

What's changed

This is a hotfix release to add Juju v3.6 compatibility for the previous stable release (381/382).

  • Fixed Juju 3.6 support - fixed Pebble 1.12+ compatibility (DPE-5915)

Full Changelog: rev381...rev444

Revisions 381, 382

11 Sep 11:26
8c186b8
Compare
Choose a tag to compare

A new revision of Charmed PostgreSQL operator for Kubernetes has been published in the 14/stable channel.

See also: Releases overview page, How to perform an upgrade

What's changed

This section outlines the most important highlights, features and bug fixes in this release.

Features

Bug fixes

Full Changelog: rev280...rev381

Known limitations

Requirements

The minimum Juju version required to reliably operate all features in this release is v3.4.5.

See the system requirements for more details about Juju versions and other software and hardware prerequisites.

Revisions 280, 281

28 Jun 23:13
1ef75c3
Compare
Choose a tag to compare

A new revision of Charmed PostgreSQL operator for Kubernetes has been published in the 14/stable channel.

See: How to perform an upgrade

What's changed

This section outlines the most important highlights, features and bugfixes in this release.

Features

Bug fixes

Canonical Data issues are now public on both Jira and GitHub.

Full Changelog: rev193...rev280

Packaging

This charm is based on the charmed-postgresql snap (pinned revision 113). It packages:

Contact us

Charmed PostgreSQL K8s is an open source project that warmly welcomes community contributions, suggestions, fixes, and constructive feedback.

  • Raise software issues or feature requests on GitHub
  • Report security issues through Launchpad
  • Contact the Canonical Data Platform team through our Matrix channel.

Revision 193

15 Mar 15:19
8411ee6
Compare
Choose a tag to compare

A new revision of Charmed PostgreSQL operator for Kubernetes has been published in the 14/stable channel.

See: How to perform an upgrade

What's changed

This section outlines the most important highlights, features and bugfixes in this release.

PostgreSQL has been upgraded from 14.9 to 14.10 (DPE-3217)

Note

It is advisable to re-index potentially affected indexes after installing this update! (See PostgreSQL14.10 changelog)

Features

Bug fixes

  • Stabilized internal Juju secrets management (DPE-3199 | #358)
  • Check system identifier in stanza (backups setup stabilization) (DPE-3061)

Full Changelog: rev177...rev193

Inside the charms

  • Charmed PostgreSQL ships the PostgreSQL 14.10-0ubuntu0.22.04.1
  • PostgreSQL cluster manager Patroni - v.3.1.2
  • Backup tools pgBackRest - v.2.48
  • The Prometheus postgres_exporter is 0.12.1-0ubuntu0.22.04.1~ppa1
  • This charm uses ROCK OCI (postgresql-image resource-revision 149) based on SNAP revision 96
  • This charm ships the latest base Ubuntu LTS 22.04.3

Technical notes

Contact us

Charmed PostgreSQL K8s is an open source project that warmly welcomes community contributions, suggestions, fixes, and constructive feedback.

  • Raise software issues or feature requests on GitHub
  • Report security issues through Launchpad
  • Contact the Canonical Data Platform team through our Matrix channel.

Revision 177

10 Jan 23:10
69b2c13
Compare
Choose a tag to compare

A new revision of Charmed PostgreSQL operator for Kubernetes has been published in the 14/stable channel.

See: How to perform an upgrade

What's changed

This section outlines the most important highlights, features and bugfixes in this release.

Updated Charmed PostgreSQL ROCK image in (PR#336)(DPE-3039):

  • Patroni updated from 3.0.2 to 3.1.2
  • Pgbackrest updated from 2.47 to 2.48

Features

Bugfixes

Canonica Data issues are now public on both Jira and GitHub platforms.
GitHub Releases provide a detailed list of bugfixes/PRs/Git commits for each revision.

  • Fixed handle scaling to zero units in (PR#331)(DPE-2728)
  • Fixed plugins enabling performance by toggling all plugins in one go (PR#322)(DPE-2903)
  • Fixed enabling extensions when new database is created in (PR#290)(DPE-2569)
  • Fixed locales availability in ROCK (PR#291)

Full Changelog: rev158...rev177

Inside the charms

  • Charmed PostgreSQL K8s ships the latest PostgreSQL “14.9-0ubuntu0.22.04.1”
  • PostgreSQL cluster manager Patroni updated to "3.2.1"
  • Backup tools pgBackRest updated to "2.48"
  • The Prometheus postgres-exporter is "0.12.1-0ubuntu0.22.04.1~ppa1"
  • K8s charms based on our ROCK OCI (Ubuntu LTS “22.04” - ubuntu:22.04-based) based on SNAP revision 89
  • Principal charms supports the latest LTS series “22.04” only
  • Subordinate charms support LTS “22.04” and “20.04” only

Technical notes

Contact us

Charmed PostgreSQL K8s is an open source project that warmly welcomes community contributions, suggestions, fixes, and constructive feedback.

  • Raise software issues or feature requests on GitHub
  • Report security issues through Launchpad
  • Contact the Canonical Data Platform team through our Matrix channel.

Revision 158

18 Oct 18:25
b4c51b0
Compare
Choose a tag to compare

A new revision of Charmed PostgreSQL operator for Kubernetes has been published in the 14/stable channel.

See: How to perform an upgrade

Features you can start using today

Bugfixes

Canonical Data issues are now public on both Jira and GitHub platforms.
GitHub Releases provide a detailed list of bugfixes/PRs/Git commits for each revision.
Highlights for the current revision:

  • DPE-1470, DPE-2419 Fixed K8s resources cleanup
  • DPE-1584 Backup/restore stabilization bugfixes
  • DPE-2546 Split stanza create and stanza check (backup stabilization)
  • DPE-2626, DPE-2627 Create bucket once and clear up blocked statuses (backup stabilization)
  • DPE-2657 Fix replication after restore
  • DPE-1590 Fixed deployment on old microk8s (e.g. 1.22)
  • DPE-2193 Fixed databases access to requested db only
  • DPE-1999 Fixed TLS race condition in new relations (stuck in 'awaiting for cluster to start'/'awaiting for member to start')
  • DPE-2338 Use SCRAM by default
  • DPE-2616 Auto-tune profile production (mimic defaults of the legacy charm)
  • DPE-2569 Set waiting status while extensions are being enabled
  • DPE-2015, DPE-2044 Add missing zoneinfo

Full Changelog: rev73...rev158

Inside the charms

  • Charmed PostgreSQL K8s ships the latest PostgreSQL “14.9-0ubuntu0.22.04.1”
  • PostgreSQL cluster manager Patroni updated to "3.0.2"
  • Backup tools pgBackRest updated to "2.47"
  • The Prometheus postgres-exporter is "0.12.1-0ubuntu0.22.04.1~ppa1"
  • K8s charms based on our ROCK OCI (Ubuntu LTS “22.04” - ubuntu:22.04-based)
  • Principal charms supports the latest LTS series “22.04” only.
  • Subordinate charms support LTS “22.04” and “20.04” only.

Technical notes

Contact us

Charmed PostgreSQL K8s is an open source project that warmly welcomes community contributions, suggestions, fixes, and constructive feedback.

  • Raise software issues or feature requests on GitHub
  • Report security issues through Launchpad
  • Contact the Canonical Data Platform team through our Matrix channel.

Revision 73

21 Apr 16:40
7d7b8ab
Compare
Choose a tag to compare

A new revision of Charmed PostgreSQL operator for Kubernetes has been published in the 14/stable channel.

See: How to perform an upgrade

Features you can start using today

  • Deploying on Kubernetes (tested with MicroK8s, GKE)
  • Scaling up/down in one simple juju command
  • HA using Patroni
  • Full backups and restores are supported when using any S3-compatible storage
  • TLS support (using “tls-certificates” operator)
  • DB access outside of Juju using “data-integrator
  • Data import using standard tools e.g. “PostgreSQL Data Injector
  • Documentation

Full Changelog: https://github.com/canonical/postgresql-k8s-operator/commits/rev73

Inside the charms

  • Charmed PostgreSQL K8s charm ships the latest PostgreSQL “14.7-0ubuntu0.22.04.1”
  • K8s charms based on our ROCK OCI (Ubuntu LTS “22.04” - ubuntu:22.04-based)
  • Principal charms supports the latest LTS series “22.04” only.
  • Subordinate charms support LTS “22.04” and “20.04” only.

Technical notes

Compatibility with legacy charms:

  • The new PostgreSQL charm is also a juju interface-compatible replacement for legacy PostgreSQL charms (using legacy interface pgsql, via endpoints db and db-admin).
    However, it is highly recommended to migrate to the modern interface postgresql_client (endpoint database).
    • Please contact us if you are considering migrating from other “legacy” charms not mentioned above.
  • Charm PostgreSQL K8s charm follows the SNAP track “14” (through repackaed ROCK/OCI image).
  • No “latest” track in use (no surprises in tracking “latest/stable”)!
    • Charmed PostgreSQL K8s charms provide legacy charm through “latest/stable”.
  • Charm lifecycle flowchart diagrams: PostgreSQL.
  • Modern interfaces are well described in “Interfaces catalogue” and implemented by 'data-platform-libs'.
  • Known limitation: PostgreSQL extensions are not yet supported.

Contact us

Charmed PostgreSQL K8s is an open source project that warmly welcomes community contributions, suggestions, fixes, and constructive feedback.

  • Raise software issues or feature requests on GitHub
  • Report security issues through Launchpad
  • Contact the Canonical Data Platform team through our Matrix channel.