[COMMON] Harmonize resource settings, Part 2
Some settings are still wrongly interpreted (e.g. 0.02Gi)
Therefor they are changed to non-floating numbers (e.g. 20Mi)
Issue-ID: OOM-3273
Change-Id: Icc88dead1ac5b1df8629d6adcc438a739e20522e
Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
diff --git a/kubernetes/policy/components/policy-api/templates/deployment.yaml b/kubernetes/policy/components/policy-api/templates/deployment.yaml
index e7e8e52..0456c86 100755
--- a/kubernetes/policy/components/policy-api/templates/deployment.yaml
+++ b/kubernetes/policy/components/policy-api/templates/deployment.yaml
@@ -29,10 +29,10 @@
resources:
limits:
cpu: "100m"
- memory: "0.5Gi"
+ memory: "500Mi"
requests:
cpu: "3m"
- memory: "0.02Gi"
+ memory: "20Mi"
- command:
- sh
args:
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 12dc502..a432fff 100755
--- a/kubernetes/policy/components/policy-clamp-ac-kserve-ppnt/values.yaml
+++ b/kubernetes/policy/components/policy-clamp-ac-kserve-ppnt/values.yaml
@@ -95,10 +95,10 @@
small:
limits:
cpu: "1"
- memory: "0.7Gi"
+ memory: "700Mi"
requests:
cpu: "0.5"
- memory: "0.7Gi"
+ memory: "700Mi"
large:
limits:
cpu: "2"
diff --git a/kubernetes/policy/components/policy-clamp-runtime-acm/templates/deployment.yaml b/kubernetes/policy/components/policy-clamp-runtime-acm/templates/deployment.yaml
index 7b6b985..67a7022 100644
--- a/kubernetes/policy/components/policy-clamp-runtime-acm/templates/deployment.yaml
+++ b/kubernetes/policy/components/policy-clamp-runtime-acm/templates/deployment.yaml
@@ -48,10 +48,10 @@
resources:
limits:
cpu: "100m"
- memory: "0.5Gi"
+ memory: "500Mi"
requests:
cpu: "3m"
- memory: "0.02Gi"
+ memory: "20Mi"
- command:
- sh
args:
diff --git a/kubernetes/policy/components/policy-distribution/values.yaml b/kubernetes/policy/components/policy-distribution/values.yaml
index 0fc6443..fd2fe2e 100755
--- a/kubernetes/policy/components/policy-distribution/values.yaml
+++ b/kubernetes/policy/components/policy-distribution/values.yaml
@@ -128,10 +128,10 @@
small:
limits:
cpu: "1"
- memory: "0.5Gi"
+ memory: "500Mi"
requests:
cpu: "0.5"
- memory: "0.5Gi"
+ memory: "500Mi"
large:
limits:
cpu: "2"
diff --git a/kubernetes/policy/components/policy-drools-pdp/templates/statefulset.yaml b/kubernetes/policy/components/policy-drools-pdp/templates/statefulset.yaml
index c483b5f..ed09551 100755
--- a/kubernetes/policy/components/policy-drools-pdp/templates/statefulset.yaml
+++ b/kubernetes/policy/components/policy-drools-pdp/templates/statefulset.yaml
@@ -43,10 +43,10 @@
resources:
limits:
cpu: "100m"
- memory: "0.5Gi"
+ memory: "500Mi"
requests:
cpu: "3m"
- memory: "0.02Gi"
+ memory: "20Mi"
{{- if not .Values.nexus.offline }}
- command:
- /app/ready.py
@@ -65,10 +65,10 @@
resources:
limits:
cpu: "100m"
- memory: "0.5Gi"
+ memory: "500Mi"
requests:
cpu: "3m"
- memory: "0.02Gi"
+ memory: "20Mi"
{{- end }}
containers:
- name: {{ include "common.name" . }}
diff --git a/kubernetes/policy/components/policy-drools-pdp/values.yaml b/kubernetes/policy/components/policy-drools-pdp/values.yaml
index dfd5e8f..6e86b3e 100755
--- a/kubernetes/policy/components/policy-drools-pdp/values.yaml
+++ b/kubernetes/policy/components/policy-drools-pdp/values.yaml
@@ -158,10 +158,10 @@
small:
limits:
cpu: "1"
- memory: "0.8Gi"
+ memory: "800Mi"
requests:
cpu: "0.5"
- memory: "0.8Gi"
+ memory: "800Mi"
large:
limits:
cpu: "2"
diff --git a/kubernetes/policy/components/policy-gui/templates/deployment.yaml b/kubernetes/policy/components/policy-gui/templates/deployment.yaml
index f175777..ba90086 100644
--- a/kubernetes/policy/components/policy-gui/templates/deployment.yaml
+++ b/kubernetes/policy/components/policy-gui/templates/deployment.yaml
@@ -61,10 +61,10 @@
resources:
limits:
cpu: "100m"
- memory: "0.5Gi"
+ memory: "500Mi"
requests:
cpu: "3m"
- memory: "0.02Gi"
+ memory: "20Mi"
containers:
# side car containers
{{ if .Values.global.centralizedLoggingEnabled }}{{ include "common.log.sidecar" . | nindent 8 }}{{ end }}
diff --git a/kubernetes/policy/components/policy-gui/values.yaml b/kubernetes/policy/components/policy-gui/values.yaml
index 3aaf001..3338d8f 100644
--- a/kubernetes/policy/components/policy-gui/values.yaml
+++ b/kubernetes/policy/components/policy-gui/values.yaml
@@ -110,10 +110,10 @@
small:
limits:
cpu: "1"
- memory: "0.7Gi"
+ memory: "700Mi"
requests:
cpu: "0.5"
- memory: "0.7Gi"
+ memory: "700Mi"
large:
limits:
cpu: "2"
diff --git a/kubernetes/policy/components/policy-nexus/values.yaml b/kubernetes/policy/components/policy-nexus/values.yaml
index f9cb108..f10d55d 100755
--- a/kubernetes/policy/components/policy-nexus/values.yaml
+++ b/kubernetes/policy/components/policy-nexus/values.yaml
@@ -87,7 +87,7 @@
memory: "1Gi"
requests:
cpu: "1m"
- memory: "0.5Gi"
+ memory: "500Mi"
large:
limits:
cpu: "2"
diff --git a/kubernetes/policy/components/policy-pap/templates/deployment.yaml b/kubernetes/policy/components/policy-pap/templates/deployment.yaml
index 5ff3062..7346b99 100755
--- a/kubernetes/policy/components/policy-pap/templates/deployment.yaml
+++ b/kubernetes/policy/components/policy-pap/templates/deployment.yaml
@@ -52,10 +52,10 @@
resources:
limits:
cpu: "100m"
- memory: "0.5Gi"
+ memory: "500Mi"
requests:
cpu: "3m"
- memory: "0.02Gi"
+ memory: "20Mi"
- command:
- sh
args:
diff --git a/kubernetes/policy/components/policy-xacml-pdp/templates/deployment.yaml b/kubernetes/policy/components/policy-xacml-pdp/templates/deployment.yaml
index f3cccff..e89dd7c 100755
--- a/kubernetes/policy/components/policy-xacml-pdp/templates/deployment.yaml
+++ b/kubernetes/policy/components/policy-xacml-pdp/templates/deployment.yaml
@@ -45,10 +45,10 @@
resources:
limits:
cpu: "100m"
- memory: "0.5Gi"
+ memory: "500Mi"
requests:
cpu: "3m"
- memory: "0.02Gi"
+ memory: "20Mi"
- command:
- sh
args: