diff options
author | 2018-11-23 11:35:46 +0100 | |
---|---|---|
committer | 2018-11-26 13:56:51 +0000 | |
commit | 45fba7670be417634d3b85ae0a15cc84acbbe324 (patch) | |
tree | f9ecc17abba6a1ea799bba746a2365e1e76edcae /kubernetes/clamp/charts/mariadb/values.yaml | |
parent | a991cf5896ff87120d14e049600f72ad132d0265 (diff) |
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 <sylvain.desbureaux@orange.com>
Diffstat (limited to 'kubernetes/clamp/charts/mariadb/values.yaml')
-rw-r--r-- | kubernetes/clamp/charts/mariadb/values.yaml | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/kubernetes/clamp/charts/mariadb/values.yaml b/kubernetes/clamp/charts/mariadb/values.yaml index a419f11b3a..13d1971028 100644 --- a/kubernetes/clamp/charts/mariadb/values.yaml +++ b/kubernetes/clamp/charts/mariadb/values.yaml @@ -25,6 +25,7 @@ global: # global defaults repository: nexus3.onap.org:10001 image: mariadb:10.1.11 pullPolicy: Always +flavor: small ################################################################# # Application configuration defaults. @@ -98,9 +99,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: 500Mi - requests: - cpu: 10m - memory: 200Mi + small: + limits: + cpu: 1 + memory: 500Mi + requests: + cpu: 10m + memory: 200Mi + large: + limits: + cpu: 1 + memory: 500Mi + requests: + cpu: 10m + memory: 200Mi + unlimited: {} |