Charmed PostgreSQL K8s
- By Canonical Data Platform
- Databases
Channel | Revision | Published | Runs on |
---|---|---|---|
latest/stable | 20 | 20 Sep 2022 | |
14/stable | 193 | 13 Mar 2024 | |
14/candidate | 193 | 31 Jan 2024 | |
14/beta | 211 | 13 Mar 2024 | |
14/edge | 225 | 24 Mar 2024 |
juju deploy postgresql-k8s --channel 14/stable
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:
-
create-backup
Creates a backup to s3 storage in AWS.
-
get-password
Change the system user's password, which is used by charm. It is for internal charm users and SHOULD NOT be used by applications.
- Params
-
username string
The username, the default value 'operator'. Possible values - backup, operator, replication, rewind.
-
get-primary
Get the unit with is the primary/leader in the replication.
-
list-backups
Lists backups in s3 storage in AWS.
-
pre-upgrade-check
Run necessary pre-upgrade checks and preparations before executing a charm refresh.
-
restore
Restore a database backup using pgBackRest. S3 credentials are retrieved from a relation with the S3 integrator charm.
- Params
-
backup-id string
A backup-id to identify the backup to restore (format = %Y-%m-%dT%H:%M:%SZ)
-
resume-upgrade
Resume a rolling upgrade after asserting successful upgrade of a new revision.
-
set-password
Change the system user's password, which is used by charm. It is for internal charm users and SHOULD NOT be used by applications.
- Params
-
password string
The password will be auto-generated if this option is not specified.
-
username string
The username, the default value 'operator'. Possible values - backup, operator, replication rewind.
-
set-tls-private-key
Set the private key, which will be used for certificate signing requests (CSR). Run for each unit separately.
- Params
-
private-key string
The content of private key for communications with clients. Content will be auto-generated if this option is not specified.