1 # Copyright (c) 2017 Amdocs, Bell Canada
2 # Modifications Copyright (c) 2018 AT&T
3 # Modifications Copyright (c) 2020 Nokia, Orange
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
9 # http://www.apache.org/licenses/LICENSE-2.0
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
17 # Default values for mariadb.
18 # This is a YAML-formatted file.
19 # Declare variables to be passed into your templates.
20 global: # global defaults
26 image: bitnami/cassandra:3.11.9-debian-10-r30
29 #################################################################
31 #################################################################
35 externalSecret: '{{ tpl (default "" .Values.config.cassandraExternalSecret) . }}'
36 login: '{{ .Values.config.cassandraUsername }}'
37 password: '{{ .Values.config.cassandraPassword }}'
39 # application configuration
41 cassandraUsername: root
42 cassandraPassword: Aa123456
43 # cassandraCredsExternalSecret: some secret
44 cassandraJvmOpts: -Xmx2536m -Xms2536m
46 # default number of instances
53 # probe configuration parameters
55 initialDelaySeconds: 10
60 # necessary to disable liveness probe when setting breakpoints
61 # in debugger so K8s doesn't restart unresponsive container
65 initialDelaySeconds: 10
71 ## Persist data to a persitent volume
75 ## A manually managed Persistent Volume and Claim
76 ## Requires persistence.enabled: true
77 ## If defined, PVC must be created manually before volume will be bound
79 volumeReclaimPolicy: Retain
81 ## database data Persistent Volume Storage Class
82 ## If defined, storageClassName: <storageClass>
83 ## If set to "-", storageClassName: "", which disables dynamic provisioning
84 ## If undefined (the default) or set to null, no storageClassName spec is
85 ## set, choosing the default provisioner. (gp2 on AWS, standard on
86 ## GKE, AWS & OpenStack)
89 accessMode: ReadWriteOnce
91 mountPath: /dockerdata-nfs
92 mountSubPath: portal/cassandra/data
96 name: portal-cassandra
97 portName: portal-cassandra
112 # Resource Limit flavor -By Default using small
114 # Segregation for Different environment (Small and Large)
133 # Heap size is tightly correlated to RAM limits.
134 # If limit > 8G, Cassandra should define itself the best value.
135 # If not, you must set up it in a coherent way with limits set
136 # Refer to https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/operations/opsTuneJVM.html#Determiningtheheapsize
137 # for more informations.