[OOM] Fixing k8s cpu limits
Adding specific cpu limits for all oom components
Issue-ID: OOM-3241
Change-Id: I0bbd973d91d11dbb0ffa5848f7c1ed5ebb5f54ba
Signed-off-by: vladimir turok <vladimir.turok@t-systems.com>
diff --git a/kubernetes/sdc/components/sdc-be/values.yaml b/kubernetes/sdc/components/sdc-be/values.yaml
index 9191d5d..b12258c 100644
--- a/kubernetes/sdc/components/sdc-be/values.yaml
+++ b/kubernetes/sdc/components/sdc-be/values.yaml
@@ -155,14 +155,14 @@
resources:
small:
limits:
- cpu: 999
+ cpu: 1
memory: 3Gi
requests:
cpu: 0.5
memory: 3Gi
large:
limits:
- cpu: 999
+ cpu: 2
memory: 6Gi
requests:
cpu: 1
diff --git a/kubernetes/sdc/components/sdc-fe/values.yaml b/kubernetes/sdc/components/sdc-fe/values.yaml
index 4c9f6af..91d4325 100644
--- a/kubernetes/sdc/components/sdc-fe/values.yaml
+++ b/kubernetes/sdc/components/sdc-fe/values.yaml
@@ -122,14 +122,14 @@
resources:
small:
limits:
- cpu: 999
+ cpu: 1
memory: 1Gi
requests:
cpu: 0.5
memory: 1Gi
large:
limits:
- cpu: 999
+ cpu: 2
memory: 2Gi
requests:
cpu: 1
diff --git a/kubernetes/sdc/components/sdc-helm-validator/values.yaml b/kubernetes/sdc/components/sdc-helm-validator/values.yaml
index 2c75b11..39f9a91 100644
--- a/kubernetes/sdc/components/sdc-helm-validator/values.yaml
+++ b/kubernetes/sdc/components/sdc-helm-validator/values.yaml
@@ -58,14 +58,14 @@
resources:
small:
limits:
- cpu: 999
+ cpu: 1
memory: 0.5Gi
requests:
cpu: 0.5
memory: 0.5Gi
large:
limits:
- cpu: 999
+ cpu: 2
memory: 1Gi
requests:
cpu: 1
diff --git a/kubernetes/sdc/components/sdc-onboarding-be/values.yaml b/kubernetes/sdc/components/sdc-onboarding-be/values.yaml
index 399aa4b..aabb17f 100644
--- a/kubernetes/sdc/components/sdc-onboarding-be/values.yaml
+++ b/kubernetes/sdc/components/sdc-onboarding-be/values.yaml
@@ -131,14 +131,14 @@
resources:
small:
limits:
- cpu: 999
+ cpu: 1
memory: 1.5Gi
requests:
cpu: 0.5
memory: 1.5Gi
large:
limits:
- cpu: 999
+ cpu: 2
memory: 3Gi
requests:
cpu: 1
diff --git a/kubernetes/sdc/components/sdc-wfd-be/values.yaml b/kubernetes/sdc/components/sdc-wfd-be/values.yaml
index f3c8839..aedf620 100644
--- a/kubernetes/sdc/components/sdc-wfd-be/values.yaml
+++ b/kubernetes/sdc/components/sdc-wfd-be/values.yaml
@@ -130,14 +130,14 @@
resources:
small:
limits:
- cpu: 999
+ cpu: 1
memory: 1Gi
requests:
cpu: 0.5
memory: 1Gi
large:
limits:
- cpu: 999
+ cpu: 2
memory: 2Gi
requests:
cpu: 1
diff --git a/kubernetes/sdc/components/sdc-wfd-fe/values.yaml b/kubernetes/sdc/components/sdc-wfd-fe/values.yaml
index 5a11c93..3c6645c 100644
--- a/kubernetes/sdc/components/sdc-wfd-fe/values.yaml
+++ b/kubernetes/sdc/components/sdc-wfd-fe/values.yaml
@@ -114,14 +114,14 @@
resources:
small:
limits:
- cpu: 999
+ cpu: 1
memory: 1Gi
requests:
cpu: 0.5
memory: 1Gi
large:
limits:
- cpu: 999
+ cpu: 2
memory: 2Gi
requests:
cpu: 1