Merge "Fix music-cassandra statefulset failing"
[oom.git] / kubernetes / policy / charts / mariadb / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018 AT&T
3 #
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 #################################################################
17 # Global configuration defaults.
18 #################################################################
19 global:
20   nodePortPrefix: 302
21   persistence: {}
22
23 #################################################################
24 # Application configuration defaults.
25 #################################################################
26 # application image
27 repository: nexus3.onap.org:10001
28 image: mariadb:10.2.14
29 pullPolicy: Always
30
31 # flag to enable debugging - application support required
32 debugEnabled: false
33
34 # application configuration
35 # Example:
36 config:
37   mysqlRootPassword: secret
38   mysqlUserName: policy_user
39   mysqlPassword: policy_user
40 # default number of instances
41 replicaCount: 1
42
43 nodeSelector: {}
44
45 affinity: {}
46
47 # probe configuration parameters
48 liveness:
49   initialDelaySeconds: 120
50   periodSeconds: 10
51   # necessary to disable liveness probe when setting breakpoints
52   # in debugger so K8s doesn't restart unresponsive container
53   enabled: true
54
55 readiness:
56   initialDelaySeconds: 120
57   periodSeconds: 10
58
59 ## Persist data to a persitent volume
60 persistence:
61   enabled: true
62   volumeReclaimPolicy: Retain
63   accessMode: ReadWriteMany
64   size: 2Gi
65   mountPath: /dockerdata-nfs
66   mountSubPath: mariadb/data
67
68 service:
69   type: ClusterIP
70   name: policydb
71   portName: policydb
72   internalPort: 3306
73
74 ingress:
75   enabled: false
76
77 # Resource Limit flavor -By Default using small
78 flavor: small
79 # Segregation for Different environment (Small and Large)
80 resources:
81   small:
82     limits:
83       cpu: 1
84       memory: 2Gi
85     requests:
86       cpu: 10m
87       memory: 0.5Gi
88   large:
89     limits:
90       cpu: 2
91       memory: 4Gi
92     requests:
93       cpu: 20m
94       memory: 1Gi
95   unlimited: {}