How to deploy¶
The basic requirements for deploying a charm are the Juju client and a machine cloud.
For more details, see System requirements.
If you are not sure where to start, or would like a more guided walkthrough for setting up your environment, see the Tutorial.
Quickstart¶
First, bootstrap the cloud controller and create a model:
juju bootstrap <cloud name> <controller name>
juju add-model <model name>
Then, use the juju deploy command:
juju deploy postgresql-k8s --channel 16/edge -n <number_of_replicas> --trust
If you are not sure where to start or would like a more guided walkthrough for setting up your environment, see the Tutorial.
Clouds¶
Set up different cloud services for a Charmed PostgreSQL deployment:
Deploy a cluster on a cloud using different availability zones:
Terraform¶
Deploy PostgreSQL and automate your infrastructure with the Juju Terraform Provider:
Airgapped¶
Install PostgreSQL in an airgapped environment via Charmhub and the Snap Store Proxy: