1 # Copyright © 2022 Amdocs, Bell Canada, AT&T, Bitnami
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 # Default values for cassandra.
16 # This is a YAML-formatted file.
17 # Declare variables to be passed into your templates.
18 global: # global defaults
21 mountPath: /dockerdata-nfs
23 mountPath: /dockerdata-nfs/backup
27 cassandraVersion: 4.0.1
29 storageClassName: default
32 clusterName: cassandra
33 secretName: &secretName cassandra-default-user
34 superuserName: &superusername cassandra
35 superuserPassword: &superuserpassword cassandra
37 authorizer: AllowAllAuthorizer
50 #################################################################
52 # used to store the default superuser for k8ssandra-operator
53 #################################################################
57 externalSecret: '{{ tpl (default "" .Values.k8ssandraOperator.config.userCredentialsExternalSecret) . }}'
62 value: *superuserpassword
67 - baseaddr: "reaper-dc1"
69 name: "cassandra-dc1-reaper-service"
73 image: cassandra:3.11.4
76 # flag to enable debugging - application support required
79 # application configuration
81 cluster_domain: cluster.local
85 jvmOpts: -Dcassandra.consistent.rangemovement=false
86 clusterName: cassandra
90 # If hostNetwork is true then provide the comma separated list of seeds.
93 # default number of instances
102 # probe configuration parameters
104 initialDelaySeconds: 1
109 # necessary to disable liveness probe when setting breakpoints
110 # in debugger so K8s doesn't restart unresponsive container
114 initialDelaySeconds: 1
121 initialDelaySeconds: 10
132 service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
133 publishNotReadyAddresses: true
143 ## thrift protocol is deprecated . Should be removed. Being left until all project removes it.
150 # sidecar.istio.io/inject: "false"
151 traffic.sidecar.istio.io/excludeInboundPorts: "7000,7001"
152 traffic.sidecar.istio.io/includeInboundPorts: '*'
153 traffic.sidecar.istio.io/excludeOutboundPorts: "7000,7001"
154 podManagementPolicy: OrderedReady
161 ## A manually managed Persistent Volume and Claim
162 ## Requires persistence.enabled: true
163 ## If defined, PVC must be created manually before volume will be bound
165 volumeReclaimPolicy: Retain
167 ## database data Persistent Volume Storage Class
168 ## If defined, storageClassName: <storageClass>
169 ## If set to "-", storageClassName: "", which disables dynamic provisioning
170 ## If undefined (the default) or set to null, no storageClassName spec is
171 ## set, choosing the default provisioner. (gp2 on AWS, standard on
172 ## GKE, AWS & OpenStack)
175 ## Not set as it depends of the backup enabledment or not.
176 accessMode: ReadWriteOnce
178 mountPath: /dockerdata-nfs
179 mountSubPath: cassandra
182 mountPath: /dockerdata-nfs/backup
187 # We usually recommend not to specify default resources and to leave this as a conscious
188 # choice for the user. This also increases chances charts run on environments with little
189 # resources, such as Minikube. If you do want to specify resources, uncomment the following
190 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
193 # Configure resource requests and limits
194 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
195 # Minimum memory for development is 2 CPU cores and 4GB memory
196 # Minimum memory for production is 4 CPU cores and 8GB memory
210 - name: system_traces
212 - name: system_distributed
214 #Pods Service Account
216 nameOverride: cassandra
223 image: bitnami/cassandra-exporter:2.3.4-debian-10-r641
224 pullPolicy: IfNotPresent
229 prometheus.io/scrape: 'true'
230 prometheus.io/port: '8080'
236 initialDelaySeconds: 30
246 initialDelaySeconds: 5
257 ## Namespace in which Prometheus is running
259 # namespace: monitoring
261 ## Interval at which metrics should be scraped.
264 ## Timeout after which the scrape is ended
267 ## ServiceMonitor selector labels
269 app.kubernetes.io/name: '{{ include "common.name" . }}'
270 helm.sh/chart: '{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}'
271 app.kubernetes.io/instance: '{{ include "common.release" . }}'
272 app.kubernetes.io/managed-by: '{{ .Release.Service }}'
274 ## RelabelConfigs to apply to samples before scraping
277 ## MetricRelabelConfigs to apply to samples before ingestion
278 metricRelabelings: []