Merge "OOF HAS Helm chart updates"
[oom.git] / kubernetes / common / music / charts / music-cassandra / values.yaml
1 # Copyright © 2018  AT&T, Amdocs, Bell Canada Intellectual Property.  All rights reserved.
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 # This is a YAML-formatted file.
16 # Declare variables to be passed into your templates.
17 global:
18   nodePortPrefix: 302
19
20   pullPolicy: Always
21   repository: nexus3.onap.org:10001
22
23   # readiness check
24   readinessRepository: oomk8s
25   readinessImage: readiness-check:2.0.0
26
27   # logging agent
28   loggingRepository: docker.elastic.co
29   loggingImage: beats/filebeat:5.5.0
30
31 replicaCount: 3
32
33 # Cassandra Image - This image is modified from the original on
34 # Docker Hub where the Security has been turned on.
35 # When logging into DB the default username and password are 'cassandra'
36 # kubectl exec -it <cassandra-n> -n <namespace> cqlsh -u cassandra -p cassandra
37 image:
38   image: onap/music/cassandra_3_11:3.0.23
39   pullPolicy: Always
40
41 # Cassandra ENV configuration
42 config:
43   heap:
44     max: 512M
45     min: 100M
46   jvmOpts: -Dcassandra.consistent.rangemovement=false
47   clusterName: music-cluster
48   dataCenter: onap-1
49   rackName: Rack1
50   autoBootstrap: true
51   ports:
52     cql: 9042
53     thrift: 9160
54     # If a JVM Agent is in place
55     # agent: 61621
56
57 service:
58   expose: true
59   type: ClusterIP
60   name: music-cassandra
61   internalPort: 9042
62   portName: cql
63   internalPort2: 9160
64   portName2: thrift
65   internalPort3: 61621
66   portName3: agent
67
68 # probe configuration parameters
69 liveness:
70   initialDelaySeconds: 120
71   periodSeconds: 10
72   # necessary to disable liveness probe when setting breakpoints
73   # in debugger so K8s doesn't restart unresponsive container
74   enabled: true
75
76 readiness:
77   initialDelaySeconds: 10
78   periodSeconds: 10
79
80 podManagementPolicy: OrderedReady
81 updateStrategy:
82   type: OnDelete
83
84 ingress:
85   enabled: false
86
87 tolerations: []
88
89 persistence:
90   enabled: true
91
92   ## A manually managed Persistent Volume and Claim
93   ## Requires persistence.enabled: true
94   ## If defined, PVC must be created manually before volume will be bound
95   # existingClaim:
96   volumeReclaimPolicy: Retain
97
98   ## database data Persistent Volume Storage Class
99   ## If defined, storageClassName: <storageClass>
100   ## If set to "-", storageClassName: "", which disables dynamic provisioning
101   ## If undefined (the default) or set to null, no storageClassName spec is
102   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
103   ##   GKE, AWS & OpenStack)
104   ##
105   ## storageClass: "-"
106   accessMode: ReadWriteOnce
107   size: 2Gi
108   mountPath: /dockerdata-nfs/
109   mountSubPath: common/cassandra/data
110   storageType: local
111   storageClass: ""
112
113 resources:
114   limits:
115     cpu: 4
116     memory: 8Gi
117   requests:
118     cpu: 2
119     memory: 4Gi