aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc/components
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2023-06-20 11:38:39 +0200
committerVladimir Turok <vladimir.turok@t-systems.com>2023-07-14 09:20:13 +0000
commit555db9c1f910db06341070941b466e6c05827e27 (patch)
treef2230a42029b31f99f7f28475056962149dfa1a8 /kubernetes/sdnc/components
parente5f9156814f2571b0f4b79a4ba5789b743d837db (diff)
[OOM] Fixing k8s resources and limits
This fix is adjusting OOM helm charts components resources limits and requests Issue-ID: OOM-3199 Signed-off-by: Vladimir Turok <vladimir.turok@t-systems.com> Change-Id: I56aeba925cda4984277ac7bbf23cfd158263d30f
Diffstat (limited to 'kubernetes/sdnc/components')
-rw-r--r--kubernetes/sdnc/components/dmaap-listener/values.yaml10
-rw-r--r--kubernetes/sdnc/components/sdnc-ansible-server/values.yaml10
-rw-r--r--kubernetes/sdnc/components/sdnc-prom/values.yaml17
-rw-r--r--kubernetes/sdnc/components/sdnc-web/values.yaml10
-rw-r--r--kubernetes/sdnc/components/ueb-listener/values.yaml8
5 files changed, 35 insertions, 20 deletions
diff --git a/kubernetes/sdnc/components/dmaap-listener/values.yaml b/kubernetes/sdnc/components/dmaap-listener/values.yaml
index 33d219b0fb..57419728c8 100644
--- a/kubernetes/sdnc/components/dmaap-listener/values.yaml
+++ b/kubernetes/sdnc/components/dmaap-listener/values.yaml
@@ -124,15 +124,15 @@ flavor: small
resources:
small:
limits:
- cpu: 2
- memory: 2Gi
+ cpu: 999
+ memory: 1Gi
requests:
- cpu: 100m
+ cpu: 0.5
memory: 1Gi
large:
limits:
- cpu: 2
- memory: 4Gi
+ cpu: 999
+ memory: 2Gi
requests:
cpu: 1
memory: 2Gi
diff --git a/kubernetes/sdnc/components/sdnc-ansible-server/values.yaml b/kubernetes/sdnc/components/sdnc-ansible-server/values.yaml
index 5a9630537a..4a48b64956 100644
--- a/kubernetes/sdnc/components/sdnc-ansible-server/values.yaml
+++ b/kubernetes/sdnc/components/sdnc-ansible-server/values.yaml
@@ -121,15 +121,15 @@ flavor: small
resources:
small:
limits:
- cpu: 1
- memory: 1Gi
+ cpu: 999
+ memory: 0.5Gi
requests:
cpu: 0.5
- memory: 500Mi
+ memory: 0.5Gi
large:
limits:
- cpu: 2
- memory: 2Gi
+ cpu: 999
+ memory: 1Gi
requests:
cpu: 1
memory: 1Gi
diff --git a/kubernetes/sdnc/components/sdnc-prom/values.yaml b/kubernetes/sdnc/components/sdnc-prom/values.yaml
index eb11d646b3..5b5026c58e 100644
--- a/kubernetes/sdnc/components/sdnc-prom/values.yaml
+++ b/kubernetes/sdnc/components/sdnc-prom/values.yaml
@@ -93,7 +93,22 @@ persistence:
ingress:
enabled: false
-resources: {}
+resources:
+ small:
+ limits:
+ cpu: 999
+ memory: 0.5Gi
+ requests:
+ cpu: 0.5
+ memory: 0.5Gi
+ large:
+ limits:
+ cpu: 999
+ memory: 1Gi
+ requests:
+ cpu: 1
+ memory: 1Gi
+ unlimited: {}
#Pods Service Account
serviceAccount:
diff --git a/kubernetes/sdnc/components/sdnc-web/values.yaml b/kubernetes/sdnc/components/sdnc-web/values.yaml
index 0487986801..18b32061cd 100644
--- a/kubernetes/sdnc/components/sdnc-web/values.yaml
+++ b/kubernetes/sdnc/components/sdnc-web/values.yaml
@@ -93,15 +93,15 @@ flavor: small
resources:
small:
limits:
- cpu: 1
- memory: 1Gi
+ cpu: 999
+ memory: 0.5Gi
requests:
cpu: 0.5
- memory: 500Mi
+ memory: 0.5Gi
large:
limits:
- cpu: 2
- memory: 2Gi
+ cpu: 999
+ memory: 1Gi
requests:
cpu: 1
memory: 1Gi
diff --git a/kubernetes/sdnc/components/ueb-listener/values.yaml b/kubernetes/sdnc/components/ueb-listener/values.yaml
index 26654dc63d..df559e9d9f 100644
--- a/kubernetes/sdnc/components/ueb-listener/values.yaml
+++ b/kubernetes/sdnc/components/ueb-listener/values.yaml
@@ -144,15 +144,15 @@ flavor: small
resources:
small:
limits:
- cpu: 2
- memory: 4Gi
+ cpu: 999
+ memory: 1Gi
requests:
cpu: 0.5
memory: 1Gi
large:
limits:
- cpu: 4
- memory: 8Gi
+ cpu: 999
+ memory: 2Gi
requests:
cpu: 1
memory: 2Gi