aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/sdc/components/sdc-cs/templates/job.yaml
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2024-02-27 08:55:23 +0100
committerAndreas Geissler <andreas-geissler@telekom.de>2024-02-28 13:36:38 +0000
commit4753743f0743a6b22f69e718c3cdb4ba8843cea6 (patch)
treeb94e42485a252d3ed348faa13ac4a009ad17c10b /kubernetes/sdc/components/sdc-cs/templates/job.yaml
parentee7e3ada3228e4c80b622aa588d48ac34789cedd (diff)
[COMMON] Harmonize resource settings
Update all resource settings to the kubernetes recommended normalized form. Fix ReadinessCheck resource limits. Issue-ID: OOM-3273 Change-Id: Ie10903b801e4dc1689bcec092162d711a431a7a6 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
Diffstat (limited to 'kubernetes/sdc/components/sdc-cs/templates/job.yaml')
-rw-r--r--kubernetes/sdc/components/sdc-cs/templates/job.yaml16
1 files changed, 8 insertions, 8 deletions
diff --git a/kubernetes/sdc/components/sdc-cs/templates/job.yaml b/kubernetes/sdc/components/sdc-cs/templates/job.yaml
index 3738ff4a22..6e9169d94d 100644
--- a/kubernetes/sdc/components/sdc-cs/templates/job.yaml
+++ b/kubernetes/sdc/components/sdc-cs/templates/job.yaml
@@ -50,11 +50,11 @@ spec:
fieldPath: metadata.namespace
resources:
limits:
- cpu: 100m
- memory: 100Mi
+ cpu: "100m"
+ memory: "0.5Gi"
requests:
- cpu: 3m
- memory: 20Mi
+ cpu: "3m"
+ memory: "0.02Gi"
containers:
- name: {{ include "common.name" . }}-job
image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.cassandraInitImage }}
@@ -86,11 +86,11 @@ spec:
fieldPath: status.podIP
resources:
limits:
- cpu: 800m
- memory: 1024Mi
+ cpu: "800m"
+ memory: "1Gi"
requests:
- cpu: 200m
- memory: 300Mi
+ cpu: "200m"
+ memory: "0.3Gi"
{{ include "common.waitForJobContainer" . | indent 6 | trim }}
serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}}
volumes: