summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/cassandra/values.yaml
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-09-23 14:21:30 +0200
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-10-26 14:17:13 +0000
commit77c848a8b4fcfd1e6ffeed4b177eedca36d3207e (patch)
tree513019c781d04b022cabdec51533a9a1c205f6e2 /kubernetes/common/cassandra/values.yaml
parent0e4398a4d093fa03cf019650c51a5d07a3bcff67 (diff)
[COMMON] Add limits to cassandra statefulsets.
Having limits is important in order to have safe deployment. cassandra didn't had one so let's add them. Issue-ID: OOM-2230 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Id3fef8c351f1be977eab49abd111304b9edd9151
Diffstat (limited to 'kubernetes/common/cassandra/values.yaml')
-rw-r--r--kubernetes/common/cassandra/values.yaml16
1 files changed, 8 insertions, 8 deletions
diff --git a/kubernetes/common/cassandra/values.yaml b/kubernetes/common/cassandra/values.yaml
index 959e243638..d0ada59061 100644
--- a/kubernetes/common/cassandra/values.yaml
+++ b/kubernetes/common/cassandra/values.yaml
@@ -131,7 +131,7 @@ persistence:
configOverrides: {}
-resources: {}
+# resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
@@ -142,13 +142,13 @@ resources: {}
# ref: http://kubernetes.io/docs/user-guide/compute-resources/
# 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: 2
-# memory: 4Gi
+resources:
+ limits:
+ cpu: 0.8
+ memory: 4Gi
+ requests:
+ cpu: 0.2
+ memory: 2.5Gi
backup:
enabled: false
cron: "00 00 * * *"