postgresql-k8s

Charmed PostgreSQL K8s

Channel Revision Published Runs on
latest/stable 20 20 Sep 2022
Ubuntu 20.04
14/stable 495 18 Feb 2025
Ubuntu 22.04
14/stable 494 18 Feb 2025
Ubuntu 22.04
14/candidate 495 11 Feb 2025
Ubuntu 22.04
14/candidate 494 11 Feb 2025
Ubuntu 22.04
14/beta 495 06 Feb 2025
Ubuntu 22.04
14/beta 494 06 Feb 2025
Ubuntu 22.04
14/edge 508 Today
Ubuntu 22.04
14/edge 507 Today
Ubuntu 22.04
16/edge 496 06 Feb 2025
Ubuntu 24.04
juju deploy postgresql-k8s --channel 14/stable
Show information

Platform:

Juju

Juju is an open source orchestration engine for software operators that enables the deployment, integration and lifecycle management of applications at any scale, on any infrastructure using charms.

See also: Juju client documentation, Juju blog

Compatibility with PostgreSQL

Current stable releases of this charm can still be deployed on Juju 2.9. However, newer features are not supported.

See the Releases page for more information about the minimum Juju version required to operate the features of each revision.

Additionally, there are limitations regarding integrations with other charms. For example, integration with modern TLS charms requires Juju 3.x.

Breaking changes between Juju 2.9.x and 3.x

As this charm’s documentation is written for Juju 3.x, users of 2.9.x will encounter noteworthy changes when following the instructions. This section explains those changes.

Breaking changes have been introduced in the Juju client between versions 2.9.x and 3.x. These are caused by the renaming and re-purposing of several commands - functionality and command options remain unchanged.

In the context of this guide, the pertinent changes are as follows:

v2.9.x v3.x
add-relation integrate
relate integrate
run exec
run-action --wait run

See the Juju 3.0 release notes for the comprehensive list of changes.

Example substitutions:

Juju 3.x:

juju integrate postgresql-k8s:database postgresql-test-app

juju run postgresql-k8s/leader get-password 

Juju 2.9.x:

juju relate postgresql-k8s:database postgresql-test-app

juju run-action --wait postgresql-k8s/leader get-password

:tipping_hand_man: The document based on OpenStack guide.