From 77ab15718b97d58d193da3339caf4df46cd39975 Mon Sep 17 00:00:00 2001 From: "jona.klaess" Date: Wed, 10 Jun 2026 11:20:16 +0200 Subject: [PATCH] reduce resources --- ptp-chat/ptp-chat-backend.yaml | 8 ++++---- ptp-chat/ptp-chat-db.yaml | 8 ++++---- ptp-chat/ptp-chat-frontend.yaml | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/ptp-chat/ptp-chat-backend.yaml b/ptp-chat/ptp-chat-backend.yaml index 38531ce..8e11d95 100644 --- a/ptp-chat/ptp-chat-backend.yaml +++ b/ptp-chat/ptp-chat-backend.yaml @@ -37,11 +37,11 @@ spec: containerPort: 8081 resources: requests: - memory: 0.5Gi - cpu: 1 + memory: 0.4Gi + cpu: 0.01 limits: - memory: 1Gi - cpu: 2 + memory: 0.8Gi + cpu: 0.05 readinessProbe: httpGet: path: /actuator/health diff --git a/ptp-chat/ptp-chat-db.yaml b/ptp-chat/ptp-chat-db.yaml index 9a68cba..bb041ba 100644 --- a/ptp-chat/ptp-chat-db.yaml +++ b/ptp-chat/ptp-chat-db.yaml @@ -50,11 +50,11 @@ spec: containerPort: 5432 resources: requests: - memory: 0.5Gi - cpu: 1 + memory: 0.1Gi + cpu: 0.01 limits: - memory: 1Gi - cpu: 2 + memory: 0.4Gi + cpu: 0.05 volumeMounts: - name: ptp-chat-pvc mountPath: /var/lib/postgresql diff --git a/ptp-chat/ptp-chat-frontend.yaml b/ptp-chat/ptp-chat-frontend.yaml index ccbed6a..7cd098c 100644 --- a/ptp-chat/ptp-chat-frontend.yaml +++ b/ptp-chat/ptp-chat-frontend.yaml @@ -27,11 +27,11 @@ spec: containerPort: 80 resources: requests: - memory: 0.5Gi - cpu: 1 + memory: 0.1Gi + cpu: 0.01 limits: - memory: 1Gi - cpu: 2 + memory: 0.2Gi + cpu: 0.02 readinessProbe: httpGet: port: 80