From 9f5dc0435eae9dc7de9fa9d4a8b75a3319650c4a Mon Sep 17 00:00:00 2001 From: Prateekinlinux Date: Thu, 20 Sep 2018 14:08:54 +0000 Subject: Resource limit: DMAAP component Addressing CI comments and clean up w.s. resolving merge conflicts Issue-ID: OOM-1152 Change-Id: I20f772db7c8d1d7b36997c2c2ea17d26b8165976 Signed-off-by: Prateekinlinux Signed-off-by: Mandeep Khinda --- .../dmaap/charts/dmaap-bus-controller/values.yaml | 37 +++++++++++----------- 1 file changed, 19 insertions(+), 18 deletions(-) (limited to 'kubernetes/dmaap/charts/dmaap-bus-controller/values.yaml') diff --git a/kubernetes/dmaap/charts/dmaap-bus-controller/values.yaml b/kubernetes/dmaap/charts/dmaap-bus-controller/values.yaml index 85361d88f6..768f2958a1 100644 --- a/kubernetes/dmaap/charts/dmaap-bus-controller/values.yaml +++ b/kubernetes/dmaap/charts/dmaap-bus-controller/values.yaml @@ -96,21 +96,22 @@ postgres: 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 - # lines, adjust them as necessary, and remove the curly braces after 'resources:'. - # - # Example: - # Configure resource requests and limits - # 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 +# Resource Limit flavor -By Default using small +flavor: small +# Segregation for Different environment (Small and Large) +resources: + small: + limits: + cpu: 2 + memory: 4Gi + requests: + cpu: 1 + memory: 1Gi + large: + limits: + cpu: 4 + memory: 8Gi + requests: + cpu: 2 + memory: 2Gi + unlimited: {} -- cgit 1.2.3-korg