blob: a0488e5cc72e0fa382d3b5c4012b5dd7f8091c36 [file] [log] [blame]
Mandeep Khinda1d123882018-03-27 01:26:59 +00001# Copyright © 2017 Amdocs, Bell Canada
toshrajbhardwajf4fc1c62018-08-06 07:35:14 +00002# Modifications Copyright © 2018 AT&T
Mandeep Khinda1d123882018-03-27 01:26:59 +00003#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16# Default values for mariadb.
17# This is a YAML-formatted file.
18# Declare variables to be passed into your templates.
19global: # global defaults
20 nodePortPrefix: 302
Mandeep Khinda1d123882018-03-27 01:26:59 +000021 persistence: {}
22
23
24# application image
Gary Wu7a69b082018-05-08 07:28:24 -070025image: onap/music/cassandra_music:3.0.0
Mandeep Khinda1d123882018-03-27 01:26:59 +000026pullPolicy: Always
27
Sandeep Shah2ffb1ba2020-09-01 21:13:16 -050028#################################################################
29# Secrets metaconfig
30#################################################################
31secrets:
32 - uid: 'db-creds'
33 type: basicAuth
34 externalSecret: '{{ tpl (default "" .Values.config.cassandraExternalSecret) . }}'
35 login: '{{ .Values.config.cassandraUsername }}'
36 password: '{{ .Values.config.cassandraPassword }}'
37
Mandeep Khinda1d123882018-03-27 01:26:59 +000038# application configuration
39config:
40 cassandraUsername: root
41 cassandraPassword: Aa123456
Sandeep Shah2ffb1ba2020-09-01 21:13:16 -050042# cassandraCredsExternalSecret: some secret
st782s76972f72018-05-02 17:27:57 -040043 cassandraJvmOpts: -Xmx2536m -Xms2536m
Mandeep Khinda1d123882018-03-27 01:26:59 +000044
45# default number of instances
46replicaCount: 1
47
48nodeSelector: {}
49
50affinity: {}
51
52# probe configuration parameters
53liveness:
54 initialDelaySeconds: 10
55 periodSeconds: 10
56 # necessary to disable liveness probe when setting breakpoints
57 # in debugger so K8s doesn't restart unresponsive container
58 enabled: true
59
60readiness:
61 initialDelaySeconds: 10
62 periodSeconds: 10
63
Roger Maitland28c06452018-04-10 14:43:57 -040064## Persist data to a persitent volume
65persistence:
66 enabled: true
67
68 ## A manually managed Persistent Volume and Claim
69 ## Requires persistence.enabled: true
70 ## If defined, PVC must be created manually before volume will be bound
71 # existingClaim:
72 volumeReclaimPolicy: Retain
73
74 ## database data Persistent Volume Storage Class
75 ## If defined, storageClassName: <storageClass>
76 ## If set to "-", storageClassName: "", which disables dynamic provisioning
77 ## If undefined (the default) or set to null, no storageClassName spec is
78 ## set, choosing the default provisioner. (gp2 on AWS, standard on
79 ## GKE, AWS & OpenStack)
80 ##
81 # storageClass: "-"
Sylvain Desbureauxcce22e92019-09-02 14:18:42 +020082 accessMode: ReadWriteOnce
Roger Maitland28c06452018-04-10 14:43:57 -040083 size: 2Gi
84 mountPath: /dockerdata-nfs
85 mountSubPath: portal/cassandra/data
Mandeep Khinda60d36d42018-09-24 15:15:48 +000086
Mandeep Khinda1d123882018-03-27 01:26:59 +000087service:
88 type: ClusterIP
89 name: portal-cassandra
BorislavG1ffbd992018-04-24 07:56:27 +000090 portName: portal-cassandra
Mandeep Khinda1d123882018-03-27 01:26:59 +000091 externalPort: 9160
92 internalPort: 9160
93 externalPort2: 7000
94 internalPort2: 7000
95 externalPort3: 7001
96 internalPort3: 7001
97 externalPort4: 7199
98 internalPort4: 7199
99 externalPort5: 9042
100 internalPort5: 9042
101
102ingress:
103 enabled: false
104
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000105# Resource Limit flavor -By Default using small
Nishukumar75d48b92018-09-19 12:11:51 +0000106flavor: small
107# Segregation for Different environment (Small and Large)
108resources:
109 small:
110 limits:
Sylvain Desbureaux22b89c72019-10-29 12:00:36 +0100111 cpu: 500m
112 memory: 3.75Gi
Nishukumar75d48b92018-09-19 12:11:51 +0000113 requests:
Sylvain Desbureaux22b89c72019-10-29 12:00:36 +0100114 cpu: 160m
115 memory: 2.8Gi
Nishukumar75d48b92018-09-19 12:11:51 +0000116 large:
117 limits:
118 cpu: 4
119 memory: 10Gi
120 requests:
121 cpu: 2
122 memory: 6Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000123 unlimited: {}