blob: f5fe5893099a821f207d34c04e066a80e53e1dc0 [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
20
21
22# application image
23repository: nexus3.onap.org:10001
Oleg Mitsura21b61ec2019-05-02 09:27:13 -040024image: library/cassandra:2.2.14
prpatelafedf2c2018-09-07 15:28:38 +000025pullPolicy: Always
26
27# flag to enable debugging - application support required
28debugEnabled: false
29
prpatelafedf2c2018-09-07 15:28:38 +000030# application configuration
31config:
Mahendra Raghuwanshif59d9252019-02-20 06:54:46 +000032 cluster_domain: cluster.local
prpatelafedf2c2018-09-07 15:28:38 +000033 heap:
34 max: 512M
35 min: 100M
36 jvmOpts: -Dcassandra.consistent.rangemovement=false
37 clusterName: cassandra
38 dataCenter: Pod
39 rackName: Rack
40 autoBootstrap: true
Mahendra Raghuwanshif59d9252019-02-20 06:54:46 +000041 # If hostNetwork is true then provide the comma separated list of seeds.
42 #seeds:seed1,seed2
prpatelafedf2c2018-09-07 15:28:38 +000043
44# default number of instances
Mahendra Raghuwanshif59d9252019-02-20 06:54:46 +000045replicaCount: 3
46
47hostNetwork: false
prpatelafedf2c2018-09-07 15:28:38 +000048
49nodeSelector: {}
50
51affinity: {}
52
53# probe configuration parameters
54liveness:
55 initialDelaySeconds: 60
56 periodSeconds: 10
Mahendra Raghuwanshif59d9252019-02-20 06:54:46 +000057 timeoutSeconds: 3
58 successThreshold: 1
59 failureThreshold: 3
prpatelafedf2c2018-09-07 15:28:38 +000060 # necessary to disable liveness probe when setting breakpoints
61 # in debugger so K8s doesn't restart unresponsive container
62 enabled: true
63
64readiness:
Tomasz Golabek33658002019-05-30 08:59:39 +020065 initialDelaySeconds: 120
prpatelafedf2c2018-09-07 15:28:38 +000066 periodSeconds: 10
Mahendra Raghuwanshif59d9252019-02-20 06:54:46 +000067 timeoutSeconds: 3
68 successThreshold: 1
69 failureThreshold: 3
prpatelafedf2c2018-09-07 15:28:38 +000070
71service:
72 type: ClusterIP
73 name: cassandra
Mahendra Raghuwanshif59d9252019-02-20 06:54:46 +000074 ports:
75 - name: intra
76 port: 7000
77 - name: tls
78 port: 7001
79 - name: jmx
80 port: 7199
81 - name: cql
82 port: 9042
83 - name: thrift
84 port: 9160
85 - name: agent
86 port: 61621
prpatelafedf2c2018-09-07 15:28:38 +000087
88podManagementPolicy: OrderedReady
89updateStrategy:
Mahendra Raghuwanshif59d9252019-02-20 06:54:46 +000090 type: RollingUpdate
prpatelafedf2c2018-09-07 15:28:38 +000091
92ingress:
93 enabled: false
94
95persistence:
96 enabled: true
97
98 ## A manually managed Persistent Volume and Claim
99 ## Requires persistence.enabled: true
100 ## If defined, PVC must be created manually before volume will be bound
101 # existingClaim:
102 volumeReclaimPolicy: Retain
103
104 ## database data Persistent Volume Storage Class
105 ## If defined, storageClassName: <storageClass>
106 ## If set to "-", storageClassName: "", which disables dynamic provisioning
107 ## If undefined (the default) or set to null, no storageClassName spec is
108 ## set, choosing the default provisioner. (gp2 on AWS, standard on
109 ## GKE, AWS & OpenStack)
110 ##
111 ## storageClass: "-"
112 accessMode: ReadWriteOnce
113 size: 2Gi
114 mountPath: /dockerdata-nfs
115 mountSubPath: cassandra
116 storageType: local
117 storageClass: ""
118
Mahendra Raghuwanshif59d9252019-02-20 06:54:46 +0000119configOverrides: {}
prpatelafedf2c2018-09-07 15:28:38 +0000120
121resources: {}
122 # We usually recommend not to specify default resources and to leave this as a conscious
123 # choice for the user. This also increases chances charts run on environments with little
124 # resources, such as Minikube. If you do want to specify resources, uncomment the following
125 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
126 #
127 # Example:
128 # Configure resource requests and limits
129 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
130 # Minimum memory for development is 2 CPU cores and 4GB memory
131 # Minimum memory for production is 4 CPU cores and 8GB memory
132#resources:
133# limits:
134# cpu: 2
135# memory: 4Gi
136# requests:
137# cpu: 2
138# memory: 4Gi