From a4ce0b257ff7c3fc422c191414a99caa85430f79 Mon Sep 17 00:00:00 2001 From: GregSulek Date: Tue, 18 Sep 2018 19:39:03 -0400 Subject: Add Resource Limits for uui flavor name removed from global Issue-ID: OOM-1165 Change-Id: I8da4cf5de40182567edaa44544bab074d34accf9 Signed-off-by: GregSulek --- kubernetes/uui/values.yaml | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) (limited to 'kubernetes/uui/values.yaml') diff --git a/kubernetes/uui/values.yaml b/kubernetes/uui/values.yaml index 66b277837e..95be04ba7c 100644 --- a/kubernetes/uui/values.yaml +++ b/kubernetes/uui/values.yaml @@ -21,6 +21,8 @@ global: subChartsOnly: enabled: true +flavor: small + # application image repository: nexus3.onap.org:10001 image: onap/usecase-ui:1.1.1 @@ -63,7 +65,6 @@ service: ingress: enabled: false -resources: {} # We usually recommend not to specify default resources and to leave this as a conscious # choice for the user. This also increases chances charts run on environments with little # resources, such as Minikube. If you do want to specify resources, uncomment the following @@ -74,10 +75,18 @@ resources: {} # ref: http://kubernetes.io/docs/user-guide/compute-resources/ # 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: 2 -# memory: 4Gi -# requests: -# cpu: 2 -# memory: 4Gi +resources: + small: + limits: + cpu: 250m + memory: 1Gi + requests: + cpu: 250m + memory: 1Gi + large: + limits: + cpu: 500m + memory: 1Gi + requests: + cpu: 500m + memory: 1Gi -- cgit 1.2.3-korg