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
26 image: cassandra:3.11.4
29 # flag to enable debugging - application support required
32 # application configuration
34 cluster_domain: cluster.local
38 jvmOpts: -Dcassandra.consistent.rangemovement=false
39 clusterName: cassandra
43 # If hostNetwork is true then provide the comma separated list of seeds.
46 # default number of instances
55 # probe configuration parameters
57 initialDelaySeconds: 1
62 # necessary to disable liveness probe when setting breakpoints
63 # in debugger so K8s doesn't restart unresponsive container
67 initialDelaySeconds: 1
74 initialDelaySeconds: 10
85 service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
86 publishNotReadyAddresses: true
96 ## thrift protocol is deprecated . Should be removed. Being left until all project removes it.
103 # sidecar.istio.io/inject: "false"
104 traffic.sidecar.istio.io/excludeInboundPorts: "7000,7001"
105 traffic.sidecar.istio.io/includeInboundPorts: '*'
106 traffic.sidecar.istio.io/excludeOutboundPorts: "7000,7001"
107 podManagementPolicy: OrderedReady
117 ## A manually managed Persistent Volume and Claim
118 ## Requires persistence.enabled: true
119 ## If defined, PVC must be created manually before volume will be bound
121 volumeReclaimPolicy: Retain
123 ## database data Persistent Volume Storage Class
124 ## If defined, storageClassName: <storageClass>
125 ## If set to "-", storageClassName: "", which disables dynamic provisioning
126 ## If undefined (the default) or set to null, no storageClassName spec is
127 ## set, choosing the default provisioner. (gp2 on AWS, standard on
128 ## GKE, AWS & OpenStack)
131 ## Not set as it depends of the backup enabledment or not.
132 accessMode: ReadWriteOnce
134 mountPath: /dockerdata-nfs
135 mountSubPath: cassandra
138 mountPath: /dockerdata-nfs/backup
143 # We usually recommend not to specify default resources and to leave this as a conscious
144 # choice for the user. This also increases chances charts run on environments with little
145 # resources, such as Minikube. If you do want to specify resources, uncomment the following
146 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
149 # Configure resource requests and limits
150 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
151 # Minimum memory for development is 2 CPU cores and 4GB memory
152 # Minimum memory for production is 4 CPU cores and 8GB memory
166 - name: system_traces
168 - name: system_distributed
170 #Pods Service Account
172 nameOverride: cassandra
179 image: bitnami/cassandra-exporter:2.3.4-debian-10-r641
180 pullPolicy: IfNotPresent
185 prometheus.io/scrape: 'true'
186 prometheus.io/port: '8080'
192 initialDelaySeconds: 30
202 initialDelaySeconds: 5
213 ## Namespace in which Prometheus is running
215 # namespace: monitoring
217 ## Interval at which metrics should be scraped.
220 ## Timeout after which the scrape is ended
223 ## ServiceMonitor selector labels
225 app.kubernetes.io/name: '{{ include "common.name" . }}'
226 helm.sh/chart: '{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}'
227 app.kubernetes.io/instance: '{{ include "common.release" . }}'
228 app.kubernetes.io/managed-by: '{{ .Release.Service }}'
230 ## RelabelConfigs to apply to samples before scraping
233 ## MetricRelabelConfigs to apply to samples before ingestion
234 metricRelabelings: []