summaryrefslogtreecommitdiffstats
path: root/kubernetes/cds
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/cds
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/cds')
-rwxr-xr-xkubernetes/cds/components/cds-blueprints-processor/values.yaml16
-rwxr-xr-xkubernetes/cds/components/cds-command-executor/values.yaml16
-rwxr-xr-xkubernetes/cds/components/cds-py-executor/values.yaml16
-rw-r--r--kubernetes/cds/components/cds-sdc-listener/values.yaml16
-rw-r--r--kubernetes/cds/components/cds-ui/values.yaml16
5 files changed, 40 insertions, 40 deletions
diff --git a/kubernetes/cds/components/cds-blueprints-processor/values.yaml b/kubernetes/cds/components/cds-blueprints-processor/values.yaml
index 6e6e71aa5d..42abd1660f 100755
--- a/kubernetes/cds/components/cds-blueprints-processor/values.yaml
+++ b/kubernetes/cds/components/cds-blueprints-processor/values.yaml
@@ -203,18 +203,18 @@ flavor: small
resources:
small:
limits:
- cpu: 2
- memory: 4Gi
+ cpu: 999
+ memory: 1.8Gi
requests:
- cpu: 1
- memory: 1Gi
+ cpu: 0.5
+ memory: 1.8Gi
large:
limits:
- cpu: 4
- memory: 8Gi
+ cpu: 999
+ memory: 3.6Gi
requests:
- cpu: 2
- memory: 4Gi
+ cpu: 1
+ memory: 3.6Gi
unlimited: {}
readinessCheck:
diff --git a/kubernetes/cds/components/cds-command-executor/values.yaml b/kubernetes/cds/components/cds-command-executor/values.yaml
index c00118bd31..bea0d09b65 100755
--- a/kubernetes/cds/components/cds-command-executor/values.yaml
+++ b/kubernetes/cds/components/cds-command-executor/values.yaml
@@ -81,18 +81,18 @@ ingress:
resources:
small:
limits:
- cpu: 2
- memory: 4Gi
+ cpu: 999
+ memory: 0.2Gi
requests:
- cpu: 1
- memory: 1Gi
+ cpu: 0.5
+ memory: 0.2Gi
large:
limits:
- cpu: 4
- memory: 8Gi
+ cpu: 999
+ memory: 0.4Gi
requests:
- cpu: 2
- memory: 4Gi
+ cpu: 1
+ memory: 0.4Gi
unlimited: {}
#Pods Service Account
diff --git a/kubernetes/cds/components/cds-py-executor/values.yaml b/kubernetes/cds/components/cds-py-executor/values.yaml
index 9e556eedcb..7d2f1bd189 100755
--- a/kubernetes/cds/components/cds-py-executor/values.yaml
+++ b/kubernetes/cds/components/cds-py-executor/values.yaml
@@ -97,18 +97,18 @@ flavor: small
resources:
small:
limits:
- cpu: 2
- memory: 4Gi
+ cpu: 999
+ memory: 0.2Gi
requests:
- cpu: 1
- memory: 1Gi
+ cpu: 0.5
+ memory: 0.2Gi
large:
limits:
- cpu: 4
- memory: 8Gi
+ cpu: 999
+ memory: 0.4Gi
requests:
- cpu: 2
- memory: 4Gi
+ cpu: 1
+ memory: 0.4Gi
unlimited: {}
#Pods Service Account
diff --git a/kubernetes/cds/components/cds-sdc-listener/values.yaml b/kubernetes/cds/components/cds-sdc-listener/values.yaml
index 274c0cb8d2..404a9a8a4d 100644
--- a/kubernetes/cds/components/cds-sdc-listener/values.yaml
+++ b/kubernetes/cds/components/cds-sdc-listener/values.yaml
@@ -97,18 +97,18 @@ flavor: small
resources:
small:
limits:
- cpu: 2
- memory: 4Gi
+ cpu: 999
+ memory: 0.7Gi
requests:
- cpu: 1
- memory: 1Gi
+ cpu: 0.5
+ memory: 0.7Gi
large:
limits:
- cpu: 4
- memory: 8Gi
+ cpu: 999
+ memory: 1.4Gi
requests:
- cpu: 2
- memory: 4Gi
+ cpu: 1
+ memory: 1.4Gi
unlimited: {}
#Pods Service Account
diff --git a/kubernetes/cds/components/cds-ui/values.yaml b/kubernetes/cds/components/cds-ui/values.yaml
index 40039930be..cd7c64ee6e 100644
--- a/kubernetes/cds/components/cds-ui/values.yaml
+++ b/kubernetes/cds/components/cds-ui/values.yaml
@@ -96,18 +96,18 @@ flavor: small
resources:
small:
limits:
- cpu: 1
- memory: 1Gi
+ cpu: 999
+ memory: 0.2Gi
requests:
- cpu: 10m
- memory: 100Mi
+ cpu: 0.5
+ memory: 0.2Gi
large:
limits:
- cpu: 2
- memory: 2Gi
+ cpu: 999
+ memory: 0.2Gi
requests:
- cpu: 200m
- memory: 200Mi
+ cpu: 1
+ memory: 0.2Gi
unlimited: {}
#Pods Service Account