blob: 375d7ae8ddfcbb24d2c0d65034a3349b5f77759d [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
24image: library/cassandra:3.11
25pullPolicy: Always
26
27# flag to enable debugging - application support required
28debugEnabled: false
29
30# configmapping detail whether it exist locally or not
31# by default it is false, if you wanna configure it then mention
32# locally TRUE value in local values.yaml.
33
34configmapping: false
35
36# application configuration
37config:
38 heap:
39 max: 512M
40 min: 100M
41 jvmOpts: -Dcassandra.consistent.rangemovement=false
42 clusterName: cassandra
43 dataCenter: Pod
44 rackName: Rack
45 autoBootstrap: true
46 cassandraUsername: root
47 cassandraPassword: root
48
49# default number of instances
50replicaCount: 1
51
52nodeSelector: {}
53
54affinity: {}
55
56# probe configuration parameters
57liveness:
58 initialDelaySeconds: 60
59 periodSeconds: 10
60 # necessary to disable liveness probe when setting breakpoints
61 # in debugger so K8s doesn't restart unresponsive container
62 enabled: true
63
64readiness:
65 initialDelaySeconds: 60
66 periodSeconds: 10
67
68service:
69 type: ClusterIP
70 name: cassandra
71 portName: cassandra
72 externalPort: 9160
73 internalPort: 9160
74 externalPort2: 7000
75 internalPort2: 7000
76 externalPort3: 7001
77 internalPort3: 7001
78 externalPort4: 7199
79 internalPort4: 7199
80 externalPort5: 9042
81 internalPort5: 9042
82
83podManagementPolicy: OrderedReady
84updateStrategy:
85 type: OnDelete
86
87ingress:
88 enabled: false
89
90persistence:
91 enabled: true
92
93 ## A manually managed Persistent Volume and Claim
94 ## Requires persistence.enabled: true
95 ## If defined, PVC must be created manually before volume will be bound
96 # existingClaim:
97 volumeReclaimPolicy: Retain
98
99 ## database data Persistent Volume Storage Class
100 ## If defined, storageClassName: <storageClass>
101 ## If set to "-", storageClassName: "", which disables dynamic provisioning
102 ## If undefined (the default) or set to null, no storageClassName spec is
103 ## set, choosing the default provisioner. (gp2 on AWS, standard on
104 ## GKE, AWS & OpenStack)
105 ##
106 ## storageClass: "-"
107 accessMode: ReadWriteOnce
108 size: 2Gi
109 mountPath: /dockerdata-nfs
110 mountSubPath: cassandra
111 storageType: local
112 storageClass: ""
113
114
115resources: {}
116 # We usually recommend not to specify default resources and to leave this as a conscious
117 # choice for the user. This also increases chances charts run on environments with little
118 # resources, such as Minikube. If you do want to specify resources, uncomment the following
119 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
120 #
121 # Example:
122 # Configure resource requests and limits
123 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
124 # Minimum memory for development is 2 CPU cores and 4GB memory
125 # Minimum memory for production is 4 CPU cores and 8GB memory
126#resources:
127# limits:
128# cpu: 2
129# memory: 4Gi
130# requests:
131# cpu: 2
132# memory: 4Gi