Skip to content

Commit

Permalink
doing some tuning and testing for limits - maybe we were starving the…
Browse files Browse the repository at this point in the history
… runner?
  • Loading branch information
cloudymax committed Mar 31, 2024
1 parent f484130 commit 0bcae05
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions charts/cloudnative-pg-cluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ Create postgres tenant clusters managed by the CNPG Operator
| name | string | `"cnpg"` | |
| postgresql.pg_hba | list | `["hostnossl all all 0.0.0.0/0 reject","hostssl all all 0.0.0.0/0 cert clientcert=verify-full"]` | records for the pg_hba.conf file. ref: https://www.postgresql.org/docs/current/auth-pg-hba-conf.html |
| primaryUpdateStrategy | string | `"unsupervised"` | |
| resources.limits | object | `{"cpu":"1000m","memory":"1024Mi"}` | resource limit for pods |
| resources.requests | object | `{"cpu":"100m","memory":"128Mi"}` | minimum resources guaranteed for pods |
| resources.limits | object | `{"cpu":"1000m","memory":"512Mi"}` | resource limit for pods |
| resources.requests | object | `{"cpu":"50m","memory":"64Mi"}` | minimum resources guaranteed for pods |
| scheduledBackup.name | string | `"example-backup"` | name to use for your scheduled backup job |
| scheduledBackup.spec.backupOwnerReference | string | `"self"` | |
| scheduledBackup.spec.cluster.name | string | `"pg-backup"` | |
Expand Down
6 changes: 3 additions & 3 deletions charts/cloudnative-pg-cluster/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,11 @@ resources:
# -- minimum resources guaranteed for pods
requests:
cpu: "50m"
memory: "32Mi"
memory: "64Mi"
# -- resource limit for pods
limits:
cpu: "100m"
memory: "128Mi"
cpu: "1000m"
memory: "512Mi"

testApp:
## -- create a test deployment to verify db connectivity.
Expand Down

0 comments on commit 0bcae05

Please sign in to comment.