Skip to content

Commit

Permalink
tested backup & restore and created templates
Browse files Browse the repository at this point in the history
  • Loading branch information
tarunsinghot committed Dec 10, 2024
1 parent e8f6eea commit ba3ad30
Show file tree
Hide file tree
Showing 6 changed files with 870 additions and 234 deletions.
6 changes: 3 additions & 3 deletions charts/pg-operator-db/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ version: 1.0.0
appVersion: 1.0.0
dependencies:
- name: pg-operator
version: 2.4.0
version: 2.5.0
repository: https://percona.github.io/percona-helm-charts/
alias: pg-operator
tags:
- pg-operator
condition: pg-operator.enabled
- name: pg-db
version: 2.4.1
version: 2.5.1
repository: https://percona.github.io/percona-helm-charts/
alias: pg-db
tags:
- pg-db
condition: pg-db.enabled
condition: pg-db.enabled
6 changes: 1 addition & 5 deletions charts/pg-operator-db/DOC.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
Backup -

Restore -
Backup and Restore have been tested using backup.yaml and restore.yaml files respectively using Azure Blob Storage. For using cloud storage as backup, a Kubernetes secret need to be made: https://docs.percona.com/percona-operator-for-postgresql/2.0/backup-tutorial.html#configure-backup-storage

Extension Installation- To use an extension, install it. Run the CREATE EXTENSION command on the PostgreSQL node where you want the extension to be available e.g. CREATE EXTENSION hstore SCHEMA demo; https://docs.percona.com/postgresql/13/extensions.html

Expand All @@ -18,5 +16,3 @@ https://docs.percona.com/postgresql/14/solutions/backup-recovery.html
Switch Over- In Percona Operator, the primary instance election can be controlled by the patroni.switchover section of the Custom Resource manifest. It allows to enable switchover targeting a specific PostgreSQL instance as the new primary, or just running a failover if PostgreSQL cluster has entered a bad state. https://docs.percona.com/percona-operator-for-postgresql/2.0/change-primary.html

User and DB creation- We can create the users and DB by providing values in the 'users' section in values.yaml. https://docs.percona.com/percona-operator-for-postgresql/2.0/users.html

Monitoring-
Loading

0 comments on commit ba3ad30

Please sign in to comment.