1 # Copyright © 2018 AT&T, Amdocs, Bell Canada Intellectual Property. All rights reserved.
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 # This is a YAML-formatted file.
16 # Declare variables to be passed into your templates.
23 # Cassandra Image - This image is modified from the original on
24 # Docker Hub where the Security has been turned on.
25 # When logging into DB the default username and password are 'cassandra'
26 # kubectl exec -it <cassandra-n> -n <namespace> cqlsh -u cassandra -p cassandra
27 image: onap/music/cassandra_3_11:3.0.24
30 # Cassandra ENV configuration
35 jvmOpts: -Dcassandra.consistent.rangemovement=false
36 clusterName: music-cluster
42 thrift: &thriftPort 9160
43 # If a JVM Agent is in place
49 name: &cassandraService music-cassandra
50 internalPort: *cqlPort
52 internalPort2: *thriftPort
58 host: *cassandraService
62 image: onap/music/cassandra_job:3.0.24
66 replicationClass: "SimpleStrategy"
71 passwordReplace: A2C4E6G8I0J2L4O6Q8S0U2W4Y6
73 # probe configuration parameters
75 initialDelaySeconds: 1
80 # necessary to disable liveness probe when setting breakpoints
81 # in debugger so K8s doesn't restart unresponsive container
85 initialDelaySeconds: 1
92 initialDelaySeconds: 10
98 podManagementPolicy: OrderedReady
110 ## A manually managed Persistent Volume and Claim
111 ## Requires persistence.enabled: true
112 ## If defined, PVC must be created manually before volume will be bound
114 volumeReclaimPolicy: Retain
116 ## database data Persistent Volume Storage Class
117 ## If defined, storageClassName: <storageClass>
118 ## If set to "-", storageClassName: "", which disables dynamic provisioning
119 ## If undefined (the default) or set to null, no storageClassName spec is
120 ## set, choosing the default provisioner. (gp2 on AWS, standard on
121 ## GKE, AWS & OpenStack)
124 accessMode: ReadWriteOnce
126 mountPath: /dockerdata-nfs/
127 mountSubPath: common/cassandra/data
129 # Resource Limit flavor -By Default using small
131 # Segregation for Different environment (Small and Large)