-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #184 from bcgov/postgresProdUpgrade
feat: produpgrade
- Loading branch information
Showing
8 changed files
with
59 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
These charts can be upgraded using make commands: | ||
|
||
`make upgrade NAME=patroni-backup-storage NAMESPACE=<<namespace>>` | ||
|
||
To restore from the most recent backup, rsh into the backup pod in the namespace in question and run: | ||
|
||
**dev silver production**: | ||
|
||
`./backup.sh -r postgres=sso-pgsql-dev-11-patroni:5432/rhsso` | ||
|
||
**test silver production**: | ||
|
||
`./backup.sh -r postgres=sso-pgsql-test-11-patroni:5432/keycloak` | ||
|
||
**prod silver production**: | ||
|
||
`./backup.sh -r postgres=sso-pgsql-prod-11-patroni:5432/rhsso` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 0 additions & 5 deletions
5
helm/backup-storage/values-6d70e7-dev-patroni-backup-storage.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 11 additions & 11 deletions
22
helm/backup-storage/values-6d70e7-prod-patroni-backup-storage.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 0 additions & 5 deletions
5
helm/backup-storage/values-6d70e7-test-patroni-backup-storage.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
replicaCount: 3 | ||
|
||
image: | ||
repository: ghcr.io/bcgov/spilo-14 | ||
tag: 2.1-p5 | ||
pullPolicy: IfNotPresent | ||
|
||
imagePullSecrets: | ||
- name: gh-registry-config | ||
|
||
postgresMajorVersion: 11 | ||
|
||
persistentVolume: | ||
size: 30Gi | ||
|
||
podDisruptionBudget: | ||
enabled: true |