Merge "Removed use of vfc-redis from etsicatalog component"
[oom.git] / kubernetes / common / cassandra / values.yaml
1 # 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.
18 global: # global defaults
19   nodePortPrefix: 302
20   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
27
28 # application image
29 repository: nexus3.onap.org:10001
30 image: library/cassandra:2.2.14
31 pullPolicy: Always
32
33 # flag to enable debugging - application support required
34 debugEnabled: false
35
36 # application configuration
37 config:
38   cluster_domain: cluster.local
39   heap:
40     max: 2048M
41     min: 100M
42   jvmOpts: -Dcassandra.consistent.rangemovement=false
43   clusterName: cassandra
44   dataCenter: Pod
45   rackName: Rack
46   autoBootstrap: true
47   # If hostNetwork is true then provide the comma separated list of seeds.
48   #seeds:seed1,seed2
49
50 # default number of instances
51 replicaCount: 3
52
53 hostNetwork: false
54
55 nodeSelector: {}
56
57 affinity: {}
58
59 # probe configuration parameters
60 liveness:
61   initialDelaySeconds: 60
62   periodSeconds: 10
63   timeoutSeconds: 3
64   successThreshold: 1
65   failureThreshold: 3
66   # necessary to disable liveness probe when setting breakpoints
67   # in debugger so K8s doesn't restart unresponsive container
68   enabled: true
69
70 readiness:
71   initialDelaySeconds: 120
72   periodSeconds: 10
73   timeoutSeconds: 3
74   successThreshold: 1
75   failureThreshold: 3
76
77 service:
78   name: cassandra
79   headless:
80     suffix: ""
81     annotations:
82       service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
83     publishNotReadyAddresses: true
84   headlessPorts:
85   - name: tcp-intra
86     port: 7000
87   - name: tls
88     port: 7001
89   - name: tcp-jmx
90     port: 7199
91   - name: tcp-cql
92     port: 9042
93   - name: tcp-thrift
94     port: 9160
95   - name: tcp-agent
96     port: 61621
97
98 podAnnotations: {}
99 podManagementPolicy: OrderedReady
100 updateStrategy:
101   type: RollingUpdate
102
103 ingress:
104   enabled: false
105
106 persistence:
107   enabled: true
108
109   ## A manually managed Persistent Volume and Claim
110   ## Requires persistence.enabled: true
111   ## If defined, PVC must be created manually before volume will be bound
112   # existingClaim:
113   volumeReclaimPolicy: Retain
114
115   ## database data Persistent Volume Storage Class
116   ## If defined, storageClassName: <storageClass>
117   ## If set to "-", storageClassName: "", which disables dynamic provisioning
118   ## If undefined (the default) or set to null, no storageClassName spec is
119   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
120   ##   GKE, AWS & OpenStack)
121   ##
122   ## storageClass: "-"
123   ## Not set as it depends of the backup enabledment or not.
124   accessMode: ReadWriteOnce
125   size: 2Gi
126   mountPath: /dockerdata-nfs
127   mountSubPath: cassandra
128   storageType: local
129   backup:
130       mountPath: /dockerdata-nfs/backup
131
132 configOverrides: {}
133
134 resources: {}
135   # We usually recommend not to specify default resources and to leave this as a conscious
136   # choice for the user. This also increases chances charts run on environments with little
137   # resources, such as Minikube. If you do want to specify resources, uncomment the following
138   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
139   #
140   # Example:
141   # Configure resource requests and limits
142   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
143   # Minimum memory for development is 2 CPU cores and 4GB memory
144   # Minimum memory for production is 4 CPU cores and 8GB memory
145 #resources:
146 #  limits:
147 #    cpu: 2
148 #    memory: 4Gi
149 #  requests:
150 #    cpu: 2
151 #    memory: 4Gi
152 backup:
153   enabled: false
154   cron: "00 00 * * *"
155   retentionPeriod: 3
156   dbSize: 1
157   keyspacesToSkip:
158   - name: system_traces
159   - name: system_auth
160   - name: system_distributed