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/etcd-init/templates/job.yaml | 4 ++-- kubernetes/common/etcd-init/values.yaml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'kubernetes/common/etcd-init') diff --git a/kubernetes/common/etcd-init/templates/job.yaml b/kubernetes/common/etcd-init/templates/job.yaml index 64c8b44071..f1f1b0e27e 100644 --- a/kubernetes/common/etcd-init/templates/job.yaml +++ b/kubernetes/common/etcd-init/templates/job.yaml @@ -50,10 +50,10 @@ spec: resources: limits: cpu: "100m" - memory: "0.5Gi" + memory: "500Mi" requests: cpu: "3m" - memory: "0.02Gi" + memory: "20Mi" containers: - name: {{ include "common.name" . }} image: {{ include "repositoryGenerator.dockerHubRepository" . }}/{{ .Values.image }} diff --git a/kubernetes/common/etcd-init/values.yaml b/kubernetes/common/etcd-init/values.yaml index c9eac927eb..33e34fd086 100644 --- a/kubernetes/common/etcd-init/values.yaml +++ b/kubernetes/common/etcd-init/values.yaml @@ -60,17 +60,17 @@ resources: small: limits: cpu: "100m" - memory: "0.5Gi" + memory: "500Mi" requests: cpu: "10m" - memory: "0.01Gi" + memory: "10Mi" large: limits: cpu: "200m" - memory: "0.5Gi" + memory: "500Mi" requests: cpu: "20m" - memory: "0.02Gi" + memory: "20Mi" unlimited: {} #Pods Service Account -- cgit 1.2.3-korg