Charmed PostgreSQL K8s
- By Canonical Data Platform
Channel | Revision | Published | Runs on |
---|---|---|---|
latest/stable | 20 | 20 Sep 2022 | |
14/stable | 73 | 18 Apr 2023 | |
14/candidate | 73 | 18 Apr 2023 | |
14/beta | 73 | 18 Apr 2023 | |
14/edge | 92 | Yesterday |
juju deploy postgresql-k8s --channel 14/stable
You will need Juju 2.9 to be able to run this command. Learn how to upgrade to Juju 2.9.
Deploy Kubernetes operators easily with Juju, the Universal Operator Lifecycle Manager. Need a Kubernetes cluster? Install MicroK8s to create a full CNCF-certified Kubernetes system in under 60 seconds.
Platform:
How to create and list backups
Creating and listing backups requires that you:
- Have a cluster with at least three-nodes deployed
- Access to S3 storage
- Have configured settings for S3 storage
Once you have a three-node cluster that has configurations set for S3 storage, check that Charmed PostgreSQL is active
and idle
with juju status
. Once Charmed PostgreSQL is active
and idle
, you can create your first backup with the create-backup
command:
juju run-action postgresql-k8s/leader create-backup --wait
You can list your available, failed, and in progress backups by running the list-backups
command:
juju run-action postgresql-k8s/leader list-backups --wait
Note: the action create-backup
is limited to non-Primary
units IF relation with TLS operator created. To avoid unnecessary service downtime always use non-Primary units for the action create-backup
.
Help us improve this documentation
Most of this documentation can be collaboratively discussed and changed on the respective topic in the doc category of the Charmhub forum. See the documentation guidelines if you’d like to contribute.