From 555db9c1f910db06341070941b466e6c05827e27 Mon Sep 17 00:00:00 2001 From: Andreas Geissler Date: Tue, 20 Jun 2023 11:38:39 +0200 Subject: [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 Change-Id: I56aeba925cda4984277ac7bbf23cfd158263d30f --- kubernetes/policy/components/policy-apex-pdp/values.yaml | 12 ++++++------ kubernetes/policy/components/policy-api/values.yaml | 12 ++++++------ .../components/policy-clamp-ac-a1pms-ppnt/values.yaml | 12 ++++++------ .../components/policy-clamp-ac-http-ppnt/values.yaml | 12 ++++++------ .../components/policy-clamp-ac-k8s-ppnt/values.yaml | 12 ++++++------ .../components/policy-clamp-ac-kserve-ppnt/values.yaml | 16 ++++++++-------- .../components/policy-clamp-ac-pf-ppnt/values.yaml | 12 ++++++------ .../components/policy-clamp-runtime-acm/values.yaml | 16 ++++++++-------- .../policy/components/policy-distribution/values.yaml | 16 ++++++++-------- .../policy/components/policy-drools-pdp/values.yaml | 16 ++++++++-------- kubernetes/policy/components/policy-gui/values.yaml | 16 ++++++++-------- kubernetes/policy/components/policy-pap/values.yaml | 16 ++++++++-------- .../policy/components/policy-xacml-pdp/values.yaml | 16 ++++++++-------- 13 files changed, 92 insertions(+), 92 deletions(-) (limited to 'kubernetes/policy/components') diff --git a/kubernetes/policy/components/policy-apex-pdp/values.yaml b/kubernetes/policy/components/policy-apex-pdp/values.yaml index 1ae79801ae..52c613f357 100755 --- a/kubernetes/policy/components/policy-apex-pdp/values.yaml +++ b/kubernetes/policy/components/policy-apex-pdp/values.yaml @@ -101,17 +101,17 @@ flavor: small resources: small: limits: - cpu: 1 - memory: 4Gi + cpu: 999 + memory: 1Gi requests: - cpu: 10m + cpu: 0.5 memory: 1Gi large: limits: - cpu: 2 - memory: 8Gi + cpu: 999 + memory: 2Gi requests: - cpu: 20m + cpu: 1 memory: 2Gi unlimited: {} diff --git a/kubernetes/policy/components/policy-api/values.yaml b/kubernetes/policy/components/policy-api/values.yaml index 3b64507880..c9ee8eb980 100755 --- a/kubernetes/policy/components/policy-api/values.yaml +++ b/kubernetes/policy/components/policy-api/values.yaml @@ -111,17 +111,17 @@ flavor: small resources: small: limits: - cpu: 1 - memory: 6Gi + cpu: 999 + memory: 1Gi requests: - cpu: 150m + cpu: 0.5 memory: 1Gi large: limits: - cpu: 2 - memory: 8Gi + cpu: 999 + memory: 2Gi requests: - cpu: 200m + cpu: 1 memory: 2Gi unlimited: {} 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 20ea23c4ab..fcc907b107 100755 --- a/kubernetes/policy/components/policy-clamp-ac-a1pms-ppnt/values.yaml +++ b/kubernetes/policy/components/policy-clamp-ac-a1pms-ppnt/values.yaml @@ -104,17 +104,17 @@ flavor: small resources: small: limits: - cpu: 1 - memory: 4Gi + cpu: 999 + memory: 1Gi requests: - cpu: 100m + cpu: 0.5 memory: 1Gi large: limits: - cpu: 2 - memory: 8Gi + cpu: 999 + memory: 2Gi requests: - cpu: 200m + cpu: 1 memory: 2Gi unlimited: {} #Pods Service Account 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 4842503fcc..74e00e45f0 100644 --- a/kubernetes/policy/components/policy-clamp-ac-http-ppnt/values.yaml +++ b/kubernetes/policy/components/policy-clamp-ac-http-ppnt/values.yaml @@ -94,17 +94,17 @@ flavor: small resources: small: limits: - cpu: 1 - memory: 4Gi + cpu: 999 + memory: 1Gi requests: - cpu: 100m + cpu: 0.5 memory: 1Gi large: limits: - cpu: 2 - memory: 8Gi + cpu: 999 + memory: 2Gi requests: - cpu: 200m + cpu: 1 memory: 2Gi unlimited: {} #Pods Service Account 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 221d1405e1..21def97803 100644 --- a/kubernetes/policy/components/policy-clamp-ac-k8s-ppnt/values.yaml +++ b/kubernetes/policy/components/policy-clamp-ac-k8s-ppnt/values.yaml @@ -95,17 +95,17 @@ flavor: small resources: small: limits: - cpu: 1 - memory: 4Gi + cpu: 999 + memory: 1Gi requests: - cpu: 100m + cpu: 0.5 memory: 1Gi large: limits: - cpu: 2 - memory: 8Gi + cpu: 999 + memory: 2Gi requests: - cpu: 200m + cpu: 1 memory: 2Gi unlimited: {} 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 237b946557..d6db600912 100755 --- a/kubernetes/policy/components/policy-clamp-ac-kserve-ppnt/values.yaml +++ b/kubernetes/policy/components/policy-clamp-ac-kserve-ppnt/values.yaml @@ -94,18 +94,18 @@ flavor: small resources: small: limits: - cpu: 1 - memory: 4Gi + cpu: 999 + memory: 0.7Gi requests: - cpu: 100m - memory: 1Gi + cpu: 0.5 + memory: 0.7Gi large: limits: - cpu: 2 - memory: 8Gi + cpu: 999 + memory: 1.4Gi requests: - cpu: 200m - memory: 2Gi + cpu: 1 + memory: 1.4Gi unlimited: {} #Pods Service Account serviceAccount: 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 c8387adc70..a2eeb39384 100644 --- a/kubernetes/policy/components/policy-clamp-ac-pf-ppnt/values.yaml +++ b/kubernetes/policy/components/policy-clamp-ac-pf-ppnt/values.yaml @@ -115,17 +115,17 @@ flavor: small resources: small: limits: - cpu: 1 - memory: 4Gi + cpu: 999 + memory: 1Gi requests: - cpu: 100m + cpu: 0.5 memory: 1Gi large: limits: - cpu: 2 - memory: 8Gi + cpu: 999 + memory: 2Gi requests: - cpu: 200m + cpu: 1 memory: 2Gi unlimited: {} #Pods Service Account diff --git a/kubernetes/policy/components/policy-clamp-runtime-acm/values.yaml b/kubernetes/policy/components/policy-clamp-runtime-acm/values.yaml index 73a759eae5..83e4350e7d 100644 --- a/kubernetes/policy/components/policy-clamp-runtime-acm/values.yaml +++ b/kubernetes/policy/components/policy-clamp-runtime-acm/values.yaml @@ -129,18 +129,18 @@ flavor: small resources: small: limits: - cpu: 1 - memory: 6Gi + cpu: 999 + memory: 1Gi requests: - cpu: 200m - memory: 2Gi + cpu: 0.5 + memory: 1Gi large: limits: - cpu: 2 - memory: 8Gi + cpu: 999 + memory: 2Gi requests: - cpu: 400m - memory: 4Gi + cpu: 1 + memory: 2Gi unlimited: {} #Pods Service Account diff --git a/kubernetes/policy/components/policy-distribution/values.yaml b/kubernetes/policy/components/policy-distribution/values.yaml index 3c71e78072..33483e18a5 100755 --- a/kubernetes/policy/components/policy-distribution/values.yaml +++ b/kubernetes/policy/components/policy-distribution/values.yaml @@ -127,18 +127,18 @@ flavor: small resources: small: limits: - cpu: 1 - memory: 4Gi + cpu: 999 + memory: 0.5Gi requests: - cpu: 100m - memory: 1Gi + cpu: 0.5 + memory: 0.5Gi large: limits: - cpu: 2 - memory: 8Gi + cpu: 999 + memory: 1Gi requests: - cpu: 200m - memory: 2Gi + cpu: 1 + memory: 1Gi unlimited: {} #Pods Service Account diff --git a/kubernetes/policy/components/policy-drools-pdp/values.yaml b/kubernetes/policy/components/policy-drools-pdp/values.yaml index ddc81b6980..9ef74e8d86 100755 --- a/kubernetes/policy/components/policy-drools-pdp/values.yaml +++ b/kubernetes/policy/components/policy-drools-pdp/values.yaml @@ -157,18 +157,18 @@ flavor: small resources: small: limits: - cpu: 1 - memory: 4Gi + cpu: 999 + memory: 0.8Gi requests: - cpu: 100m - memory: 1Gi + cpu: 0.5 + memory: 0.8Gi large: limits: - cpu: 2 - memory: 8Gi + cpu: 999 + memory: 1.6Gi requests: - cpu: 200m - memory: 2Gi + cpu: 1 + memory: 1.6Gi unlimited: {} #Pods Service Account diff --git a/kubernetes/policy/components/policy-gui/values.yaml b/kubernetes/policy/components/policy-gui/values.yaml index 975f103ef9..607af499dd 100644 --- a/kubernetes/policy/components/policy-gui/values.yaml +++ b/kubernetes/policy/components/policy-gui/values.yaml @@ -109,18 +109,18 @@ serviceMesh: resources: small: limits: - cpu: 1 - memory: 200Mi + cpu: 999 + memory: 0.7Gi requests: - cpu: 1m - memory: 50Mi + cpu: 0.5 + memory: 0.7Gi large: limits: - cpu: 1 - memory: 500Mi + cpu: 999 + memory: 1.4Gi requests: - cpu: 10m - memory: 50Mi + cpu: 1 + memory: 1.4Gi unlimited: {} #Pods Service Account diff --git a/kubernetes/policy/components/policy-pap/values.yaml b/kubernetes/policy/components/policy-pap/values.yaml index a3bdba9b88..22428e7736 100755 --- a/kubernetes/policy/components/policy-pap/values.yaml +++ b/kubernetes/policy/components/policy-pap/values.yaml @@ -146,18 +146,18 @@ flavor: small resources: small: limits: - cpu: 2 - memory: 6Gi + cpu: 999 + memory: 1Gi requests: - cpu: 200m - memory: 2Gi + cpu: 0.5 + memory: 1Gi large: limits: - cpu: 4 - memory: 8Gi + cpu: 999 + memory: 2Gi requests: - cpu: 400m - memory: 4Gi + cpu: 1 + memory: 2Gi unlimited: {} #Pods Service Account diff --git a/kubernetes/policy/components/policy-xacml-pdp/values.yaml b/kubernetes/policy/components/policy-xacml-pdp/values.yaml index f20ad9ae41..d399cd5c4c 100755 --- a/kubernetes/policy/components/policy-xacml-pdp/values.yaml +++ b/kubernetes/policy/components/policy-xacml-pdp/values.yaml @@ -131,18 +131,18 @@ flavor: small resources: small: limits: - cpu: 2 - memory: 6Gi + cpu: 999 + memory: 1Gi requests: - cpu: 200m - memory: 2Gi + cpu: 0.5 + memory: 1Gi large: limits: - cpu: 2 - memory: 8Gi + cpu: 999 + memory: 2Gi requests: - cpu: 200m - memory: 4Gi + cpu: 1 + memory: 2Gi unlimited: {} #Pods Service Account -- cgit 1.2.3-korg