aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/vfc/components/vfc-nslcm
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/vfc/components/vfc-nslcm
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/vfc/components/vfc-nslcm')
-rw-r--r--kubernetes/vfc/components/vfc-nslcm/templates/deployment.yaml7
-rw-r--r--kubernetes/vfc/components/vfc-nslcm/values.yaml16
2 files changed, 15 insertions, 8 deletions
diff --git a/kubernetes/vfc/components/vfc-nslcm/templates/deployment.yaml b/kubernetes/vfc/components/vfc-nslcm/templates/deployment.yaml
index b04238825c..9d4497dadf 100644
--- a/kubernetes/vfc/components/vfc-nslcm/templates/deployment.yaml
+++ b/kubernetes/vfc/components/vfc-nslcm/templates/deployment.yaml
@@ -52,6 +52,13 @@ spec:
image: {{ include "repositoryGenerator.image.readiness" . }}
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
name: {{ include "common.name" . }}-readiness
+ resources:
+ limits:
+ cpu: "100m"
+ memory: "0.5Gi"
+ requests:
+ cpu: "3m"
+ memory: "0.02Gi"
containers:
- name: {{ include "common.name" . }}
command:
diff --git a/kubernetes/vfc/components/vfc-nslcm/values.yaml b/kubernetes/vfc/components/vfc-nslcm/values.yaml
index 613c872242..649c35c63a 100644
--- a/kubernetes/vfc/components/vfc-nslcm/values.yaml
+++ b/kubernetes/vfc/components/vfc-nslcm/values.yaml
@@ -93,18 +93,18 @@ ingress:
resources:
small:
limits:
- cpu: 200m
- memory: 500Mi
+ cpu: "200m"
+ memory: "0.5Gi"
requests:
- cpu: 100m
- memory: 250Mi
+ cpu: "100m"
+ memory: "0.2Gi"
large:
limits:
- cpu: 400m
- memory: 1000Mi
+ cpu: "400m"
+ memory: "1Gi"
requests:
- cpu: 200m
- memory: 500Mi
+ cpu: "200m"
+ memory: "0.5Gi"
unlimited: {}
# Log configuration