Charmed PostgreSQL How-To | Deploy PostgreSQL K8s

(draft) How to deploy PostgreSQL K8s

To use Charmed PostgreSQL K8s, you must first deploy it. Deploying refers to the process where Juju uses a charm to install an application on a resource from a cloud.

If you…

  • …already have a cloud environment and juju model up and running: See section ‘In a nutshell

  • …need help setting up a cloud environment: See section ‘Kubernetes cloud service providers

  • …are a beginner and unsure what you need to do: Start with our guided Tutorial to understand the general process and setup of a Charmed PostgreSQL deployment.


In a nutshell

To deploy the latest version of Charmed PostgreSQL K8s on any given Kubernetes cloud, run the following command:

juju deploy postgresql-k8s --trust

The --trust flag is needed so the charm and Patroni have permision to create some K8s resources.

To track the progress of your deployment, use juju status --watch 1s.

Kubernetes cloud service providers

The following pages contain more detailed instructions on how to set up some known Kubernetes service providers, install the necessary tooling, deploy Charmed PostgreSQL K8s, and observe your deployment: