[Portal] Adjust Pods Requests/Limits 71/97671/5
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Tue, 29 Oct 2019 11:00:36 +0000 (12:00 +0100)
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>
Wed, 6 Nov 2019 08:16:06 +0000 (09:16 +0100)
I've adjusted the Requests / Limits of portal pods according to real
usage of "Orange Openlab" and "Onap daily master".

Calculation is the following:

per deployment:
 * CPU/Mem requests is max of average from the two deployments
 * CPU/Mem limits is (max of max from the two deployments) * 1.2

 Moved portal-widget CPU limit to 1 as it's not starting if set to lower
 than that.

 Full values are available on jira ticket
 (https://jira.onap.org/browse/PORTAL-517).

Change-Id: Ic02fef386e05351a6fa9e47bf47d5c2046f490e3
Issue-ID: PORTAL-517
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Signed-off-by: Lorraine Welch <lb2391@att.com>
kubernetes/portal/charts/portal-app/values.yaml
kubernetes/portal/charts/portal-cassandra/values.yaml
kubernetes/portal/charts/portal-mariadb/values.yaml
kubernetes/portal/charts/portal-sdk/values.yaml
kubernetes/portal/charts/portal-widget/values.yaml
kubernetes/portal/charts/portal-zookeeper/values.yaml

index 8d9cee0..a0c3d36 100644 (file)
@@ -95,11 +95,11 @@ flavor: small
 resources:
   small:
     limits:
-      cpu: 2
-      memory: 10Gi
+      cpu: 2.2
+      memory: 800Mi
     requests:
-      cpu: 1
-      memory: 6Gi
+      cpu: 30m
+      memory: 460Mi
   large:
     limits:
       cpu: 4
index e08f59b..65fcdbe 100644 (file)
@@ -98,11 +98,11 @@ flavor: small
 resources:
   small:
     limits:
-      cpu: 2
-      memory: 8Gi
+      cpu: 500m
+      memory: 3.75Gi
     requests:
-      cpu: 1
-      memory: 4Gi
+      cpu: 160m
+      memory: 2.8Gi
   large:
     limits:
       cpu: 4
index e6896f1..e6aab2a 100644 (file)
@@ -132,11 +132,11 @@ flavor: small
 resources:
   small:
     limits:
-      cpu: 800m
-      memory: 1Gi
+      cpu: 460m
+      memory: 175Mi
     requests:
-      cpu: 400m
-      memory: 500Mi
+      cpu: 10m
+      memory: 100Mi
   large:
     limits:
       cpu: 2
index 4a0124d..8daa148 100644 (file)
@@ -89,11 +89,11 @@ flavor: small
 resources:
   small:
     limits:
-      cpu: 4
-      memory: 10Gi
+      cpu: 600m
+      memory: 1.6Gi
     requests:
-      cpu: 2
-      memory: 5Gi
+      cpu: 10m
+      memory: 1.3Gi
   large:
     limits:
       cpu: 8
index 37f4294..7a02509 100644 (file)
@@ -75,10 +75,10 @@ resources:
   small:
     limits:
       cpu: 1
-      memory: 4Gi
+      memory: 430Mi
     requests:
-      cpu: 500m
-      memory: 2Gi
+      cpu: 1m
+      memory: 360Mi
   large:
     limits:
       cpu: 2
index c7c8030..6037d24 100644 (file)
@@ -62,11 +62,11 @@ flavor: small
 resources:
   small:
     limits:
-      cpu: 500m
-      memory: 600Mi
+      cpu: 100m
+      memory: 200Mi
     requests:
-      cpu: 250m
-      memory: 300Mi
+      cpu: 1m
+      memory: 80Mi
   large:
     limits:
       cpu: 1