From ff702c70d4377e37a497dd916621d23419b061a9 Mon Sep 17 00:00:00 2001 From: Sylvain Desbureaux Date: Fri, 23 Nov 2018 14:25:57 +0100 Subject: Use flavors for resources in mariadb-galera deploy 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, mariadb-galera charts values.yaml was not. This commit makes values.yaml aligned with flavors. Change-Id: If51e8c5ad41dda7fa35c3aaaa58e60752094f133 Issue-ID: OOM-1528 Signed-off-by: Sylvain Desbureaux --- kubernetes/common/mariadb-galera/values.yaml | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/kubernetes/common/mariadb-galera/values.yaml b/kubernetes/common/mariadb-galera/values.yaml index 2305323ced..e4c6550f2b 100644 --- a/kubernetes/common/mariadb-galera/values.yaml +++ b/kubernetes/common/mariadb-galera/values.yaml @@ -117,12 +117,21 @@ externalConfig: {} # 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: 1 - memory: 2Gi + small: + limits: + cpu: 2 + memory: 4Gi + requests: + cpu: 1 + memory: 2Gi + large: + limits: + cpu: 2 + memory: 4Gi + requests: + cpu: 1 + memory: 2Gi + unlimited: {} # Name for mariadb-galera cluster - should be unique accross all projects or other clusters nameOverride: mariadb-galera -- cgit 1.2.3-korg