Skip to content

Commit

Permalink
Tweak resources requests
Browse files Browse the repository at this point in the history
  • Loading branch information
filippomc committed Oct 1, 2024
1 parent 170cbe9 commit be52561
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 3 deletions.
17 changes: 16 additions & 1 deletion applications/portal/deploy/values-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,28 @@ harness:

deployment:
replicas: 1
resources:
requests:
memory: 0.6Gi
cpu: 50m
limits:
cpu: 2
memory: 2Gi
database:
size: 20Gi
resources:
requests:
memory: 200Mi
cpu: 10m
limits:
memory: 4Gi

sentry:
sample_rate: 1.0
traces_sample_rate: 0
traces_sample_rate_resources: 0
traces_sample_rate_patterns:
"/api/": 0
"/admin/": 0
"/admin/": 0


11 changes: 9 additions & 2 deletions applications/portal/deploy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,19 @@ harness:
auto: true
replicas: 2
port: 8080
resources:
requests:
memory: 0.9Gi
cpu: 50m
limits:
cpu: 4
memory: 2Gi
livenessProbe:
path: /api/live
readinessProbe:
path: /api/ready
envmap:
WORKERS: 10
WORKERS: 2
dependencies:
build:
- cloudharness-django
Expand Down Expand Up @@ -64,7 +71,7 @@ harness:
resources:
requests:
memory: 1Gi
cpu: 200m
cpu: 50m
limits:
memory: 4Gi
accounts:
Expand Down

0 comments on commit be52561

Please sign in to comment.