From 8cbb3d9b964b774b1400df5d909913b669c2a243 Mon Sep 17 00:00:00 2001 From: Andreas Geissler Date: Tue, 12 Mar 2024 16:44:56 +0100 Subject: [COMMON] Harmonize resource settings, Part 2 Some settings are still wrongly interpreted (e.g. 0.02Gi) Therefor they are changed to non-floating numbers (e.g. 20Mi) Issue-ID: OOM-3273 Change-Id: Icc88dead1ac5b1df8629d6adcc438a739e20522e Signed-off-by: Andreas Geissler --- kubernetes/common/common/templates/_log.tpl | 4 ++-- kubernetes/common/common/templates/_mariadb.tpl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'kubernetes/common/common') diff --git a/kubernetes/common/common/templates/_log.tpl b/kubernetes/common/common/templates/_log.tpl index ca296c5b35..993c48239a 100644 --- a/kubernetes/common/common/templates/_log.tpl +++ b/kubernetes/common/common/templates/_log.tpl @@ -30,10 +30,10 @@ resources: requests: cpu: "10m" - memory: "0.005Gi" + memory: "5Mi" limits: cpu: "100m" - memory: "0.02Gi" + memory: "20Mi" {{- end -}} {{- end -}} diff --git a/kubernetes/common/common/templates/_mariadb.tpl b/kubernetes/common/common/templates/_mariadb.tpl index 427e0cbad2..e21f0f658d 100644 --- a/kubernetes/common/common/templates/_mariadb.tpl +++ b/kubernetes/common/common/templates/_mariadb.tpl @@ -228,10 +228,10 @@ spec: resources: requests: cpu: "100m" - memory: "0.1Gi" + memory: "100Mi" limits: cpu: "300m" - memory: "0.5Gi" + memory: "500Mi" {{- end -}} {{/* -- cgit 1.2.3-korg