[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/policy/components/policy-apex-pdp/values.yaml b/kubernetes/policy/components/policy-apex-pdp/values.yaml
index 52c613f..b93e798 100755
--- a/kubernetes/policy/components/policy-apex-pdp/values.yaml
+++ b/kubernetes/policy/components/policy-apex-pdp/values.yaml
@@ -101,14 +101,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/policy/components/policy-api/values.yaml b/kubernetes/policy/components/policy-api/values.yaml
index 27d30e0..721cd35 100755
--- a/kubernetes/policy/components/policy-api/values.yaml
+++ b/kubernetes/policy/components/policy-api/values.yaml
@@ -111,14 +111,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/policy/components/policy-clamp-ac-a1pms-ppnt/values.yaml b/kubernetes/policy/components/policy-clamp-ac-a1pms-ppnt/values.yaml
index fcc907b..aeeb4d1 100755
--- a/kubernetes/policy/components/policy-clamp-ac-a1pms-ppnt/values.yaml
+++ b/kubernetes/policy/components/policy-clamp-ac-a1pms-ppnt/values.yaml
@@ -104,14 +104,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/policy/components/policy-clamp-ac-http-ppnt/values.yaml b/kubernetes/policy/components/policy-clamp-ac-http-ppnt/values.yaml
index 74e00e4..646032e 100644
--- a/kubernetes/policy/components/policy-clamp-ac-http-ppnt/values.yaml
+++ b/kubernetes/policy/components/policy-clamp-ac-http-ppnt/values.yaml
@@ -94,14 +94,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/policy/components/policy-clamp-ac-k8s-ppnt/values.yaml b/kubernetes/policy/components/policy-clamp-ac-k8s-ppnt/values.yaml
index 21def97..18f61fc 100644
--- a/kubernetes/policy/components/policy-clamp-ac-k8s-ppnt/values.yaml
+++ b/kubernetes/policy/components/policy-clamp-ac-k8s-ppnt/values.yaml
@@ -95,14 +95,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/policy/components/policy-clamp-ac-kserve-ppnt/values.yaml b/kubernetes/policy/components/policy-clamp-ac-kserve-ppnt/values.yaml
index d6db600..5ae9d6b 100755
--- a/kubernetes/policy/components/policy-clamp-ac-kserve-ppnt/values.yaml
+++ b/kubernetes/policy/components/policy-clamp-ac-kserve-ppnt/values.yaml
@@ -94,14 +94,14 @@
resources:
small:
limits:
- cpu: 999
+ cpu: 1
memory: 0.7Gi
requests:
cpu: 0.5
memory: 0.7Gi
large:
limits:
- cpu: 999
+ cpu: 2
memory: 1.4Gi
requests:
cpu: 1
diff --git a/kubernetes/policy/components/policy-clamp-ac-pf-ppnt/values.yaml b/kubernetes/policy/components/policy-clamp-ac-pf-ppnt/values.yaml
index a2eeb39..2de601e 100644
--- a/kubernetes/policy/components/policy-clamp-ac-pf-ppnt/values.yaml
+++ b/kubernetes/policy/components/policy-clamp-ac-pf-ppnt/values.yaml
@@ -115,14 +115,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/policy/components/policy-clamp-runtime-acm/values.yaml b/kubernetes/policy/components/policy-clamp-runtime-acm/values.yaml
index 34c128e..5f390ad 100644
--- a/kubernetes/policy/components/policy-clamp-runtime-acm/values.yaml
+++ b/kubernetes/policy/components/policy-clamp-runtime-acm/values.yaml
@@ -129,14 +129,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/policy/components/policy-distribution/values.yaml b/kubernetes/policy/components/policy-distribution/values.yaml
index 33483e1..48a05f1 100755
--- a/kubernetes/policy/components/policy-distribution/values.yaml
+++ b/kubernetes/policy/components/policy-distribution/values.yaml
@@ -127,14 +127,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/policy/components/policy-drools-pdp/values.yaml b/kubernetes/policy/components/policy-drools-pdp/values.yaml
index d2f1630..3b4ad5c 100755
--- a/kubernetes/policy/components/policy-drools-pdp/values.yaml
+++ b/kubernetes/policy/components/policy-drools-pdp/values.yaml
@@ -157,14 +157,14 @@
resources:
small:
limits:
- cpu: 999
+ cpu: 1
memory: 0.8Gi
requests:
cpu: 0.5
memory: 0.8Gi
large:
limits:
- cpu: 999
+ cpu: 2
memory: 1.6Gi
requests:
cpu: 1
diff --git a/kubernetes/policy/components/policy-gui/values.yaml b/kubernetes/policy/components/policy-gui/values.yaml
index 607af49..b6bf2a9 100644
--- a/kubernetes/policy/components/policy-gui/values.yaml
+++ b/kubernetes/policy/components/policy-gui/values.yaml
@@ -109,14 +109,14 @@
resources:
small:
limits:
- cpu: 999
+ cpu: 1
memory: 0.7Gi
requests:
cpu: 0.5
memory: 0.7Gi
large:
limits:
- cpu: 999
+ cpu: 2
memory: 1.4Gi
requests:
cpu: 1
diff --git a/kubernetes/policy/components/policy-pap/values.yaml b/kubernetes/policy/components/policy-pap/values.yaml
index d52ff88..df2d679 100755
--- a/kubernetes/policy/components/policy-pap/values.yaml
+++ b/kubernetes/policy/components/policy-pap/values.yaml
@@ -146,14 +146,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/policy/components/policy-xacml-pdp/values.yaml b/kubernetes/policy/components/policy-xacml-pdp/values.yaml
index 4cebf4f..1f773dd 100755
--- a/kubernetes/policy/components/policy-xacml-pdp/values.yaml
+++ b/kubernetes/policy/components/policy-xacml-pdp/values.yaml
@@ -131,14 +131,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