summaryrefslogtreecommitdiffstats
path: root/kubernetes/portal/components/portal-cassandra/values.yaml
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2021-02-16 12:51:09 +0000
committerGerrit Code Review <gerrit@onap.org>2021-02-16 12:51:09 +0000
commit6f10bd8e0e47e5fbe943d8409a44930afd6a8050 (patch)
tree7018025651fc08091041859ea6eec47f217b93ef /kubernetes/portal/components/portal-cassandra/values.yaml
parentec8113d438cac4b2e979b06171aa3e79911dd091 (diff)
parentc23aa42a3c3f7c864544be41837f8601d264f1a5 (diff)
Merge "[PORTAL] Fix Heap config generation"
Diffstat (limited to 'kubernetes/portal/components/portal-cassandra/values.yaml')
-rw-r--r--kubernetes/portal/components/portal-cassandra/values.yaml20
1 files changed, 12 insertions, 8 deletions
diff --git a/kubernetes/portal/components/portal-cassandra/values.yaml b/kubernetes/portal/components/portal-cassandra/values.yaml
index c185155f09..b06761a870 100644
--- a/kubernetes/portal/components/portal-cassandra/values.yaml
+++ b/kubernetes/portal/components/portal-cassandra/values.yaml
@@ -112,14 +112,6 @@ flavor: small
# Segregation for Different environment (Small and Large)
resources:
small:
- # Heap size is tightly correlated to RAM limits.
- # If limit > 8G, Cassandra should define itself the best value.
- # If not, you must set up it in a coherent way with limits set
- # Refer to https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/operations/opsTuneJVM.html#Determiningtheheapsize
- # for more informations.
- heap:
- max: 3G
- new: 100M
limits:
cpu: 500m
memory: 3.75Gi
@@ -134,3 +126,15 @@ resources:
cpu: 2
memory: 6Gi
unlimited: {}
+
+heap:
+ # Heap size is tightly correlated to RAM limits.
+ # If limit > 8G, Cassandra should define itself the best value.
+ # If not, you must set up it in a coherent way with limits set
+ # Refer to https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/operations/opsTuneJVM.html#Determiningtheheapsize
+ # for more informations.
+ small:
+ max: 3G
+ new: 100M
+ large: {}
+ unlimited: {} \ No newline at end of file