diff options
author | Andreas Geissler <andreas-geissler@telekom.de> | 2024-03-12 16:44:56 +0100 |
---|---|---|
committer | Andreas Geissler <andreas-geissler@telekom.de> | 2024-03-14 13:45:13 +0000 |
commit | 8cbb3d9b964b774b1400df5d909913b669c2a243 (patch) | |
tree | ee3efa1ba9268b223a99cf6822d0b4806d27e89c /kubernetes/common/etcd-init | |
parent | 9468364310a767b4d68f35a94f15e79ff38c5908 (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/etcd-init')
-rw-r--r-- | kubernetes/common/etcd-init/templates/job.yaml | 4 | ||||
-rw-r--r-- | kubernetes/common/etcd-init/values.yaml | 8 |
2 files changed, 6 insertions, 6 deletions
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 |