aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common/common
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2024-03-12 16:44:56 +0100
committerAndreas Geissler <andreas-geissler@telekom.de>2024-03-14 13:45:13 +0000
commit8cbb3d9b964b774b1400df5d909913b669c2a243 (patch)
treeee3efa1ba9268b223a99cf6822d0b4806d27e89c /kubernetes/common/common
parent9468364310a767b4d68f35a94f15e79ff38c5908 (diff)
[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 <andreas-geissler@telekom.de>
Diffstat (limited to 'kubernetes/common/common')
-rw-r--r--kubernetes/common/common/templates/_log.tpl4
-rw-r--r--kubernetes/common/common/templates/_mariadb.tpl4
2 files changed, 4 insertions, 4 deletions
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 -}}
{{/*