From be52561194a69370fe30bc2759dfdeb8a9102b2f Mon Sep 17 00:00:00 2001 From: Filippo Ledda Date: Tue, 1 Oct 2024 12:32:07 +0200 Subject: [PATCH] Tweak resources requests --- applications/portal/deploy/values-dev.yaml | 17 ++++++++++++++++- applications/portal/deploy/values.yaml | 11 +++++++++-- 2 files changed, 25 insertions(+), 3 deletions(-) diff --git a/applications/portal/deploy/values-dev.yaml b/applications/portal/deploy/values-dev.yaml index 17b9a28b..6700f71c 100644 --- a/applications/portal/deploy/values-dev.yaml +++ b/applications/portal/deploy/values-dev.yaml @@ -2,8 +2,21 @@ 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 @@ -11,4 +24,6 @@ sentry: traces_sample_rate_resources: 0 traces_sample_rate_patterns: "/api/": 0 - "/admin/": 0 \ No newline at end of file + "/admin/": 0 + + \ No newline at end of file diff --git a/applications/portal/deploy/values.yaml b/applications/portal/deploy/values.yaml index 224f9935..6a9e5043 100644 --- a/applications/portal/deploy/values.yaml +++ b/applications/portal/deploy/values.yaml @@ -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 @@ -64,7 +71,7 @@ harness: resources: requests: memory: 1Gi - cpu: 200m + cpu: 50m limits: memory: 4Gi accounts: