blob: 9c1fc430b147e4e229d313293cf2f8826741059b [file] [log] [blame]
Mandeep Khinda1d123882018-03-27 01:26:59 +00001# Copyright © 2017 Amdocs, Bell Canada
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 mariadb.
16# This is a YAML-formatted file.
17# Declare variables to be passed into your templates.
18global: # global defaults
19 nodePortPrefix: 302
Mandeep Khinda1d123882018-03-27 01:26:59 +000020 persistence: {}
21
22
23# application image
24repository: nexus3.onap.org:10001
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
28# application configuration
29config:
30 cassandraUsername: root
31 cassandraPassword: Aa123456
st782s76972f72018-05-02 17:27:57 -040032 cassandraJvmOpts: -Xmx2536m -Xms2536m
Mandeep Khinda1d123882018-03-27 01:26:59 +000033
34# default number of instances
35replicaCount: 1
36
37nodeSelector: {}
38
39affinity: {}
40
41# probe configuration parameters
42liveness:
43 initialDelaySeconds: 10
44 periodSeconds: 10
45 # necessary to disable liveness probe when setting breakpoints
46 # in debugger so K8s doesn't restart unresponsive container
47 enabled: true
48
49readiness:
50 initialDelaySeconds: 10
51 periodSeconds: 10
52
Roger Maitland28c06452018-04-10 14:43:57 -040053## Persist data to a persitent volume
54persistence:
55 enabled: true
56
57 ## A manually managed Persistent Volume and Claim
58 ## Requires persistence.enabled: true
59 ## If defined, PVC must be created manually before volume will be bound
60 # existingClaim:
61 volumeReclaimPolicy: Retain
62
63 ## database data Persistent Volume Storage Class
64 ## If defined, storageClassName: <storageClass>
65 ## If set to "-", storageClassName: "", which disables dynamic provisioning
66 ## If undefined (the default) or set to null, no storageClassName spec is
67 ## set, choosing the default provisioner. (gp2 on AWS, standard on
68 ## GKE, AWS & OpenStack)
69 ##
70 # storageClass: "-"
71 accessMode: ReadWriteMany
72 size: 2Gi
73 mountPath: /dockerdata-nfs
74 mountSubPath: portal/cassandra/data
75
Mandeep Khinda1d123882018-03-27 01:26:59 +000076service:
77 type: ClusterIP
78 name: portal-cassandra
BorislavG1ffbd992018-04-24 07:56:27 +000079 portName: portal-cassandra
Mandeep Khinda1d123882018-03-27 01:26:59 +000080 externalPort: 9160
81 internalPort: 9160
82 externalPort2: 7000
83 internalPort2: 7000
84 externalPort3: 7001
85 internalPort3: 7001
86 externalPort4: 7199
87 internalPort4: 7199
88 externalPort5: 9042
89 internalPort5: 9042
90
91ingress:
92 enabled: false
93
94resources: {}
95 # We usually recommend not to specify default resources and to leave this as a conscious
96 # choice for the user. This also increases chances charts run on environments with little
97 # resources, such as Minikube. If you do want to specify resources, uncomment the following
98 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
99 #
100 # Example:
101 # Configure resource requests and limits
102 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
103 # Minimum memory for development is 2 CPU cores and 4GB memory
104 # Minimum memory for production is 4 CPU cores and 8GB memory
105#resources:
106# limits:
107# cpu: 2
108# memory: 4Gi
109# requests:
110# cpu: 2
111# memory: 4Gi