From c64875142ef9b3b1d8a2a5d83a7d295d1a50fdfc Mon Sep 17 00:00:00 2001 From: Sylvain Desbureaux Date: Fri, 23 Nov 2018 14:52:32 +0100 Subject: Use flavors for resources in oof csmo deployment 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 --- .../oof-cmso/charts/oof-cmso-service/values.yaml | 23 +++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) (limited to 'kubernetes/oof') diff --git a/kubernetes/oof/charts/oof-cmso/charts/oof-cmso-service/values.yaml b/kubernetes/oof/charts/oof-cmso/charts/oof-cmso-service/values.yaml index a970f38157..98c6b4a050 100644 --- a/kubernetes/oof/charts/oof-cmso/charts/oof-cmso-service/values.yaml +++ b/kubernetes/oof/charts/oof-cmso/charts/oof-cmso-service/values.yaml @@ -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: {} -- cgit 1.2.3-korg