blob: e568996b15e120c8df356f09688f469597b2a344 [file] [log] [blame]
prpatelafedf2c2018-09-07 15:28:38 +00001# Copyright © 2018 Amdocs, Bell Canada, AT&T
2#
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
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
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.
14
15# Default values for cassandra.
16# This is a YAML-formatted file.
17# Declare variables to be passed into your templates.
18global: # global defaults
19 nodePortPrefix: 302
Akansha Dua7b6e1982019-09-04 13:36:12 +000020 persistence:
21 mountPath: /dockerdata-nfs
22 backup:
23 mountPath: /dockerdata-nfs/backup
24 repository: nexus3.onap.org:10001
25 readinessRepository: oomk8s
26 readinessImage: readiness-check:2.0.2
prpatelafedf2c2018-09-07 15:28:38 +000027
28# application image
29repository: nexus3.onap.org:10001
Oleg Mitsura21b61ec2019-05-02 09:27:13 -040030image: library/cassandra:2.2.14
prpatelafedf2c2018-09-07 15:28:38 +000031pullPolicy: Always
32
33# flag to enable debugging - application support required
34debugEnabled: false
35
prpatelafedf2c2018-09-07 15:28:38 +000036# application configuration
37config:
Mahendra Raghuwanshif59d9252019-02-20 06:54:46 +000038 cluster_domain: cluster.local
prpatelafedf2c2018-09-07 15:28:38 +000039 heap:
Akansha Dua7f145c72019-09-12 12:59:39 +000040 max: 2048M
prpatelafedf2c2018-09-07 15:28:38 +000041 min: 100M
42 jvmOpts: -Dcassandra.consistent.rangemovement=false
43 clusterName: cassandra
44 dataCenter: Pod
45 rackName: Rack
46 autoBootstrap: true
Mahendra Raghuwanshif59d9252019-02-20 06:54:46 +000047 # If hostNetwork is true then provide the comma separated list of seeds.
48 #seeds:seed1,seed2
prpatelafedf2c2018-09-07 15:28:38 +000049
50# default number of instances
Mahendra Raghuwanshif59d9252019-02-20 06:54:46 +000051replicaCount: 3
52
53hostNetwork: false
prpatelafedf2c2018-09-07 15:28:38 +000054
55nodeSelector: {}
56
57affinity: {}
58
59# probe configuration parameters
60liveness:
61 initialDelaySeconds: 60
62 periodSeconds: 10
Mahendra Raghuwanshif59d9252019-02-20 06:54:46 +000063 timeoutSeconds: 3
64 successThreshold: 1
65 failureThreshold: 3
prpatelafedf2c2018-09-07 15:28:38 +000066 # necessary to disable liveness probe when setting breakpoints
67 # in debugger so K8s doesn't restart unresponsive container
68 enabled: true
69
70readiness:
Tomasz Golabek33658002019-05-30 08:59:39 +020071 initialDelaySeconds: 120
prpatelafedf2c2018-09-07 15:28:38 +000072 periodSeconds: 10
Mahendra Raghuwanshif59d9252019-02-20 06:54:46 +000073 timeoutSeconds: 3
74 successThreshold: 1
75 failureThreshold: 3
prpatelafedf2c2018-09-07 15:28:38 +000076
77service:
78 type: ClusterIP
79 name: cassandra
Mahendra Raghuwanshif59d9252019-02-20 06:54:46 +000080 ports:
81 - name: intra
82 port: 7000
83 - name: tls
84 port: 7001
85 - name: jmx
86 port: 7199
87 - name: cql
88 port: 9042
89 - name: thrift
90 port: 9160
91 - name: agent
92 port: 61621
prpatelafedf2c2018-09-07 15:28:38 +000093
94podManagementPolicy: OrderedReady
95updateStrategy:
Mahendra Raghuwanshif59d9252019-02-20 06:54:46 +000096 type: RollingUpdate
prpatelafedf2c2018-09-07 15:28:38 +000097
98ingress:
99 enabled: false
100
101persistence:
102 enabled: true
103
104 ## A manually managed Persistent Volume and Claim
105 ## Requires persistence.enabled: true
106 ## If defined, PVC must be created manually before volume will be bound
107 # existingClaim:
108 volumeReclaimPolicy: Retain
109
110 ## database data Persistent Volume Storage Class
111 ## If defined, storageClassName: <storageClass>
112 ## If set to "-", storageClassName: "", which disables dynamic provisioning
113 ## If undefined (the default) or set to null, no storageClassName spec is
114 ## set, choosing the default provisioner. (gp2 on AWS, standard on
115 ## GKE, AWS & OpenStack)
116 ##
117 ## storageClass: "-"
118 accessMode: ReadWriteOnce
119 size: 2Gi
120 mountPath: /dockerdata-nfs
121 mountSubPath: cassandra
122 storageType: local
123 storageClass: ""
Akansha Dua7b6e1982019-09-04 13:36:12 +0000124 backup:
125 mountPath: /dockerdata-nfs/backup
prpatelafedf2c2018-09-07 15:28:38 +0000126
Mahendra Raghuwanshif59d9252019-02-20 06:54:46 +0000127configOverrides: {}
prpatelafedf2c2018-09-07 15:28:38 +0000128
129resources: {}
130 # We usually recommend not to specify default resources and to leave this as a conscious
131 # choice for the user. This also increases chances charts run on environments with little
132 # resources, such as Minikube. If you do want to specify resources, uncomment the following
133 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
134 #
135 # Example:
136 # Configure resource requests and limits
137 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
138 # Minimum memory for development is 2 CPU cores and 4GB memory
139 # Minimum memory for production is 4 CPU cores and 8GB memory
140#resources:
141# limits:
142# cpu: 2
143# memory: 4Gi
144# requests:
145# cpu: 2
146# memory: 4Gi
Akansha Dua7b6e1982019-09-04 13:36:12 +0000147backup:
148 enabled: false
149 cron: "00 00 * * *"
150 retentionPeriod: 3
151 dbSize: 1
152 keyspacesToSkip:
153 - name: system_traces
154 - name: system_auth
155 - name: system_distributed