From 45fba7670be417634d3b85ae0a15cc84acbbe324 Mon Sep 17 00:00:00 2001 From: Sylvain Desbureaux Date: Fri, 23 Nov 2018 11:35:46 +0100 Subject: Use flavors for resources in clamp 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, clamp-xxx charts values.yaml was not. This commit makes values.yaml aligned with flavors Change-Id: I025965d3d7820345f8459a5c5821091a29b2c5c7 Issue-ID: CLAMP-250 Signed-off-by: Sylvain Desbureaux --- .../clamp/charts/clamp-dash-kibana/values.yaml | 23 +++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) (limited to 'kubernetes/clamp/charts/clamp-dash-kibana') diff --git a/kubernetes/clamp/charts/clamp-dash-kibana/values.yaml b/kubernetes/clamp/charts/clamp-dash-kibana/values.yaml index 9cc1b2f82f..b60dbcff38 100644 --- a/kubernetes/clamp/charts/clamp-dash-kibana/values.yaml +++ b/kubernetes/clamp/charts/clamp-dash-kibana/values.yaml @@ -22,6 +22,7 @@ global: readinessRepository: oomk8s readinessImage: readiness-check:1.1.0 persistence: {} +flavor: small ################################################################# # Application configuration defaults. @@ -88,10 +89,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: 2Gi - requests: - cpu: 10m - memory: 750Mi - + small: + limits: + cpu: 1 + memory: 2Gi + requests: + cpu: 10m + memory: 750Mi + large: + limits: + cpu: 1 + memory: 2Gi + requests: + cpu: 10m + memory: 750Mi + unlimited: {} -- cgit 1.2.3-korg