Skip to content

Commit

Permalink
Merge pull request #149 from bcgov/yj
Browse files Browse the repository at this point in the history
chore: crunchydb for prod
  • Loading branch information
ychung-mot authored Apr 16, 2024
2 parents 7955414 + ee71789 commit dd7bb0a
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions crunchydb/values-prod.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
crunchy-postgres:
fullnameOverride: strdssprod
instances:
name: ha # high availability
replicas: 2
dataVolumeClaimSpec:
storage: 6Gi
storageClassName: netapp-block-standard
requests:
cpu: 1m
memory: 256Mi
limits:
cpu: 100m
memory: 512Mi
replicaCertCopy:
requests:
cpu: 1m
memory: 32Mi
limits:
cpu: 50m
memory: 64Mi

pgBackRest:
retention: "10" # Ideally a larger number such as 30 backups/days
# If retention-full-type set to 'count' then the oldest backups will expire when the number of backups reach the number defined in retention
# If retention-full-type set to 'time' then the number defined in retention will take that many days worth of full backups before expiration
retentionFullType: count
repos:
schedules:
full: 0 8 * * *
incremental: 0 0,4,12,16,20 * * *
volume:
accessModes: "ReadWriteOnce"
storage: 2Gi
crunchy-postgres-tools:
networking:
route:
host: prod-strdata-db.apps.silver.devops.gov.bc.ca

0 comments on commit dd7bb0a

Please sign in to comment.