Use flavors for resources in oof csmo deployment 23/73423/1
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Fri, 23 Nov 2018 13:52:32 +0000 (14:52 +0100)
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>
Fri, 23 Nov 2018 13:54:33 +0000 (14:54 +0100)
For Casablanca release, flavors have been set up for choosing the "right"
resource requests and limits.

Although the deployment is using the right way for that, oof-csmo-service
charts values.yaml was not. This commit makes values.yaml aligned with
flavors

Change-Id: I38075343b24fc2af85795e9c2a65356d5b776391
Issue-ID: OPTFRA-403
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
kubernetes/oof/charts/oof-cmso/charts/oof-cmso-service/values.yaml

index a970f38..98c6b4a 100644 (file)
@@ -65,7 +65,7 @@ service:
   internalPort: 8080
   externalPort: 8080
   #nodePort: 23
-  # as of 20181022 port 23 is reserved for cmso 
+  # as of 20181022 port 23 is reserved for cmso
   # see https://wiki.onap.org/display/DW/OOM+NodePort+List
 
 
@@ -94,9 +94,18 @@ ingress:
   # Minimum memory for development is 2 CPU cores and 4GB memory
   # Minimum memory for production is 4 CPU cores and 8GB memory
 resources:
-  limits:
-    cpu: 1
-    memory: 1.2Gi
-  requests:
-    cpu: 10m
-    memory: 800Mi
+  small:
+    limits:
+      cpu: 1
+      memory: 1.2Gi
+    requests:
+      cpu: 10m
+      memory: 800Mi
+  large:
+    limits:
+      cpu: 1
+      memory: 1.2Gi
+    requests:
+      cpu: 10m
+      memory: 800Mi
+  unlimited: {}