Skip to content

Commit

Permalink
bump pg resouces for big db
Browse files Browse the repository at this point in the history
  • Loading branch information
jgreat committed Sep 23, 2024
1 parent 3fd9f9d commit 9526210
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/mobilecoin-workflow-dev-reset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ jobs:
- mc-core-dev-env-setup
- fog-report-a
- fog-report-b
- fog-view
- fog-ledger
steps:
- name: Delete release
uses: mobilecoinofficial/gha-k8s-toolbox@v1
Expand Down Expand Up @@ -105,5 +103,12 @@ jobs:
run: |
for i in 1 2 3
do
aws s3 rm --only-show-errors --recursive "s3://${BUCKET}/node${i}.${NAMESPACE}.development.mobilecoin.com"
aws s3 rm --only-show-errors --recursive "s3://${BUCKET}/node${i}.${NAMESPACE}.development.mobilecoin.com" &
pids[i]=$!
done
# wait for all pids to finish
for pid in "${pids[@]}"
do
wait "${pid}"
done
14 changes: 14 additions & 0 deletions .github/workflows/mobilecoin-workflow-dev-setup-environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,20 @@ jobs:
database: fog_recovery
existingSecret: fog-recovery-postgresql
postgresqlSharedPreloadLibraries: pgaudit,pg_stat_statements
primary:
resources:
requests:
cpu: 1
memory: 1Gi
limits:
memory: 8Gi
readReplicas:
resources:
requests:
cpu: 1
memory: 1Gi
limits:
memory: 8Gi
EOF
- name: Deploy PostgreSQL instance
Expand Down

0 comments on commit 9526210

Please sign in to comment.