From ee717892de8bab080e257180c2e12a72b3c4f60a Mon Sep 17 00:00:00 2001 From: ychung-mot Date: Tue, 16 Apr 2024 12:48:45 -0700 Subject: [PATCH] chore: crunchydb for prod --- crunchydb/values-prod.yaml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 crunchydb/values-prod.yaml diff --git a/crunchydb/values-prod.yaml b/crunchydb/values-prod.yaml new file mode 100644 index 00000000..e28f1218 --- /dev/null +++ b/crunchydb/values-prod.yaml @@ -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 \ No newline at end of file