summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/music/charts/music-cassandra/values.yaml
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2019-10-29 18:00:15 +0100
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2019-10-29 18:00:15 +0100
commit5ad860d4543687809f5650894def72b0532e0824 (patch)
tree066721825fd5b94eab252827ceab1829f7d56abe /kubernetes/common/music/charts/music-cassandra/values.yaml
parentb6ebe18c6bab9c30311400a16aae99c259a4f0f9 (diff)
[Music] Adjust Pods Requests/Limits
I've adjusted the Requests / Limits of portal pods according to real usage of "Orange Openlab" and "Onap daily master". Calculation is the following: per deployment: * CPU/Mem requests is max of average from the two deployments * CPU/Mem limits is (max of max from the two deployments) * 1.2 Change-Id: I3fce54e6be495a7014bf346d66721976fa2dab8b Issue-ID: MUSIC-533 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Diffstat (limited to 'kubernetes/common/music/charts/music-cassandra/values.yaml')
-rw-r--r--kubernetes/common/music/charts/music-cassandra/values.yaml24
1 files changed, 18 insertions, 6 deletions
diff --git a/kubernetes/common/music/charts/music-cassandra/values.yaml b/kubernetes/common/music/charts/music-cassandra/values.yaml
index d18dc68e67..f0888c12e6 100644
--- a/kubernetes/common/music/charts/music-cassandra/values.yaml
+++ b/kubernetes/common/music/charts/music-cassandra/values.yaml
@@ -110,10 +110,22 @@ persistence:
storageType: local
storageClass: ""
+# Resource Limit flavor -By Default using small
+flavor: small
+# Segregation for Different environment (Small and Large)
resources:
- limits:
- cpu: 4
- memory: 8Gi
- requests:
- cpu: 2
- memory: 4Gi
+ small:
+ limits:
+ cpu: 500m
+ memory: 1.2Gi
+ requests:
+ cpu: 160m
+ memory: 900Mi
+ large:
+ limits:
+ cpu: 4
+ memory: 10Gi
+ requests:
+ cpu: 2
+ memory: 6Gi
+ unlimited: {}