postgresql-k8s

Charmed PostgreSQL K8s

Channel Revision Published Runs on
latest/stable 20 20 Sep 2022
Ubuntu 20.04
14/stable 495 Today
Ubuntu 22.04
14/stable 494 Today
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 499 10 Feb 2025
Ubuntu 22.04
14/edge 498 10 Feb 2025
Ubuntu 22.04
16/edge 496 06 Feb 2025
Ubuntu 24.04
juju deploy postgresql-k8s --channel 14/stable
Show information

Platform:

How to connect DB from outside of Kubernetes

It is possible to connect to a client application outside the database’s Kubernetes cluster. The method depends on whether it is a non-Juju application or a Juju application.

External K8s application (non-Juju)

Use case: The client application is a non-Juju application outside of DB K8s deployment.

To connect the Charmed PostgreSQL K8s database from outside the Kubernetes cluster, the charm PgBouncer K8s should be deployed. Please follow the instructions in the PgBouncer K8s documentation.

External K8s relation (Juju)

Use case: The client application is a Juju application outside of DB K8s deployment (e.g. hybrid Juju deployment with mixed K8s and VM applications).

In this case, a cross-hybrid-relation is necessary. Please contact Data team to discuss the possible options for your use case.


Help improve this document in the forum (guidelines). Last updated 4 months ago.