aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/oof
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/oof
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/oof')
-rwxr-xr-xkubernetes/oof/components/oof-has/components/oof-has-api/values.yaml12
-rwxr-xr-xkubernetes/oof/components/oof-has/components/oof-has-controller/values.yaml12
-rwxr-xr-xkubernetes/oof/components/oof-has/components/oof-has-data/values.yaml12
-rwxr-xr-xkubernetes/oof/components/oof-has/components/oof-has-reservation/values.yaml12
-rwxr-xr-xkubernetes/oof/components/oof-has/components/oof-has-solver/values.yaml12
-rwxr-xr-xkubernetes/oof/components/oof-has/values.yaml8
-rw-r--r--kubernetes/oof/values.yaml13
7 files changed, 41 insertions, 40 deletions
diff --git a/kubernetes/oof/components/oof-has/components/oof-has-api/values.yaml b/kubernetes/oof/components/oof-has/components/oof-has-api/values.yaml
index 8b2ebdd23c..6fa2a69dff 100755
--- a/kubernetes/oof/components/oof-has/components/oof-has-api/values.yaml
+++ b/kubernetes/oof/components/oof-has/components/oof-has-api/values.yaml
@@ -56,18 +56,18 @@ flavor: small
resources:
small:
limits:
- memory: 4Gi
- cpu: 2000m
+ memory: 1Gi
+ cpu: 999
requests:
memory: 1Gi
- cpu: 500m
+ cpu: 0.5
large:
limits:
- memory: 8Gi
- cpu: 4000m
+ memory: 2Gi
+ cpu: 999
requests:
memory: 2Gi
- cpu: 1000m
+ cpu: 1
unlimited: {}
# probe configuration parameters
liveness:
diff --git a/kubernetes/oof/components/oof-has/components/oof-has-controller/values.yaml b/kubernetes/oof/components/oof-has/components/oof-has-controller/values.yaml
index c72dc6c516..b56943811b 100755
--- a/kubernetes/oof/components/oof-has/components/oof-has-controller/values.yaml
+++ b/kubernetes/oof/components/oof-has/components/oof-has-controller/values.yaml
@@ -44,18 +44,18 @@ flavor: small
resources:
small:
limits:
- memory: 4Gi
- cpu: 2000m
+ memory: 1Gi
+ cpu: 999
requests:
memory: 1Gi
- cpu: 500m
+ cpu: 0.5
large:
limits:
- memory: 8Gi
- cpu: 4000m
+ memory: 2Gi
+ cpu: 999
requests:
memory: 2Gi
- cpu: 1000m
+ cpu: 1
unlimited: {}
# probe configuration parameters
liveness:
diff --git a/kubernetes/oof/components/oof-has/components/oof-has-data/values.yaml b/kubernetes/oof/components/oof-has/components/oof-has-data/values.yaml
index 166b1a4099..6c9ffde320 100755
--- a/kubernetes/oof/components/oof-has/components/oof-has-data/values.yaml
+++ b/kubernetes/oof/components/oof-has/components/oof-has-data/values.yaml
@@ -44,18 +44,18 @@ flavor: small
resources:
small:
limits:
- memory: 4Gi
- cpu: 2000m
+ memory: 1Gi
+ cpu: 999
requests:
memory: 1Gi
- cpu: 500m
+ cpu: 0.5
large:
limits:
- memory: 8Gi
- cpu: 4000m
+ memory: 2Gi
+ cpu: 999
requests:
memory: 2Gi
- cpu: 1000m
+ cpu: 1
unlimited: {}
# probe configuration parameters
liveness:
diff --git a/kubernetes/oof/components/oof-has/components/oof-has-reservation/values.yaml b/kubernetes/oof/components/oof-has/components/oof-has-reservation/values.yaml
index 3b4b1e2fe6..fd15206562 100755
--- a/kubernetes/oof/components/oof-has/components/oof-has-reservation/values.yaml
+++ b/kubernetes/oof/components/oof-has/components/oof-has-reservation/values.yaml
@@ -44,18 +44,18 @@ flavor: small
resources:
small:
limits:
- memory: 4Gi
- cpu: 2000m
+ memory: 1Gi
+ cpu: 999
requests:
memory: 1Gi
- cpu: 500m
+ cpu: 0.5
large:
limits:
- memory: 8Gi
- cpu: 4000m
+ memory: 2Gi
+ cpu: 999
requests:
memory: 2Gi
- cpu: 1000m
+ cpu: 1
unlimited: {}
# probe configuration parameters
liveness:
diff --git a/kubernetes/oof/components/oof-has/components/oof-has-solver/values.yaml b/kubernetes/oof/components/oof-has/components/oof-has-solver/values.yaml
index 0bce2bc1ce..5395a74478 100755
--- a/kubernetes/oof/components/oof-has/components/oof-has-solver/values.yaml
+++ b/kubernetes/oof/components/oof-has/components/oof-has-solver/values.yaml
@@ -44,18 +44,18 @@ flavor: small
resources:
small:
limits:
- memory: 4Gi
- cpu: 2000m
+ memory: 1Gi
+ cpu: 999
requests:
memory: 1Gi
- cpu: 500m
+ cpu: 0.5
large:
limits:
- memory: 8Gi
- cpu: 4000m
+ memory: 2Gi
+ cpu: 999
requests:
memory: 2Gi
- cpu: 1000m
+ cpu: 1
unlimited: {}
# probe configuration parameters
liveness:
diff --git a/kubernetes/oof/components/oof-has/values.yaml b/kubernetes/oof/components/oof-has/values.yaml
index 219e236fbf..1af6391b00 100755
--- a/kubernetes/oof/components/oof-has/values.yaml
+++ b/kubernetes/oof/components/oof-has/values.yaml
@@ -74,17 +74,17 @@ resources:
small:
limits:
memory: 2Gi
- cpu: 1000m
+ cpu: 999
requests:
memory: 1Gi
- cpu: 500m
+ cpu: 0.5
large:
limits:
memory: 4Gi
- cpu: 2000m
+ cpu: 999
requests:
memory: 2Gi
- cpu: 1000m
+ cpu: 1
unlimited: {}
#component overrides
diff --git a/kubernetes/oof/values.yaml b/kubernetes/oof/values.yaml
index 87202e16dd..fe93a1e1d2 100644
--- a/kubernetes/oof/values.yaml
+++ b/kubernetes/oof/values.yaml
@@ -112,18 +112,19 @@ certInitializer:
resources:
small:
limits:
- memory: 2Gi
- cpu: 1000m
+ cpu: 999
+ memory: 1Gi
requests:
+ cpu: 0.5
memory: 1Gi
- cpu: 500m
large:
limits:
- memory: 4Gi
- cpu: 2000m
+ cpu: 999
+ memory: 2Gi
requests:
+ cpu: 1
memory: 2Gi
- cpu: 1000m
+
unlimited: {}
# probe configuration parameters
liveness: