From 32057b853d92cc4e10d04b3125ff28ae661c8d50 Mon Sep 17 00:00:00 2001 From: Mansoor Sajjad Date: Mon, 6 May 2024 14:19:26 +0200 Subject: [PATCH] Fixing the memory and cpu settings. --- helm/antu/env/values-kub-ent-prd.yaml | 3 ++- helm/antu/templates/deployment.yaml | 1 - helm/antu/values.yaml | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/helm/antu/env/values-kub-ent-prd.yaml b/helm/antu/env/values-kub-ent-prd.yaml index b75ffada..52aa1749 100644 --- a/helm/antu/env/values-kub-ent-prd.yaml +++ b/helm/antu/env/values-kub-ent-prd.yaml @@ -42,6 +42,7 @@ horizontalPodAutoscaler: stopplaceRegistryUrl: https://api.entur.io/stop-places/v1/read resources: + memLimit: 6000Mi cpuRequest: "2" - memRequest: 6000Mi + memRequest: 4000Mi xmx: 5000m \ No newline at end of file diff --git a/helm/antu/templates/deployment.yaml b/helm/antu/templates/deployment.yaml index 0e959d3c..6bc7e98a 100644 --- a/helm/antu/templates/deployment.yaml +++ b/helm/antu/templates/deployment.yaml @@ -83,7 +83,6 @@ spec: timeoutSeconds: 10 resources: limits: - cpu: {{ .Values.resources.cpuLimit }} memory: {{ .Values.resources.memLimit }} requests: cpu: {{ .Values.resources.cpuRequest }} diff --git a/helm/antu/values.yaml b/helm/antu/values.yaml index be3ca3b8..ad01bba2 100644 --- a/helm/antu/values.yaml +++ b/helm/antu/values.yaml @@ -8,7 +8,6 @@ service: internalPort: 8080 resources: - cpuLimit: "2" memLimit: 4000Mi cpuRequest: "1" memRequest: 4000Mi