blob: 51f446fd6828798162ffaf0ae810ced88cab8ec5 [file] [log] [blame]
vaibhavjayasea9aee02018-08-31 06:22:26 +00001# Copyright © 2018 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
vitalied1e5876c2018-03-29 10:24:27 -050015#################################################################
16# Global configuration defaults.
17#################################################################
18global:
19 nodePortPrefix: 302
vitalied1e5876c2018-03-29 10:24:27 -050020 persistence: {}
21 repository: nexus3.onap.org:10001
22
23
24#################################################################
25# Application configuration defaults.
26#################################################################
27
28#repository: mysql
29repository: nexus3.onap.org:10001
30image: adfinissygroup/k8s-mariadb-galera-centos:v002
31imageInit: busybox
32pullPolicy: IfNotPresent
33
34# application configuration
35config:
36 mariadbRootPassword: secretpassword
37 userName: my-user
38 userPassword: my-password
39 mysqlDatabase: my-database
40
41# default number of instances in the StatefulSet
42replicaCount: 3
43
44nodeSelector: {}
45
46affinity: {}
47
48# probe configuration parameters
49liveness:
50 initialDelaySeconds: 30
51 periodSeconds: 10
52 timeoutSeconds: 5
53 # necessary to disable liveness probe when setting breakpoints
54 # in debugger so K8s doesn't restart unresponsive container
55 enabled: true
56
57readiness:
58 initialDelaySeconds: 15
59 periodSeconds: 10
60
61## Persist data to a persitent volume
62persistence:
pramod47b1b822018-08-28 15:41:45 +000063 enabled: true
vitalied1e5876c2018-03-29 10:24:27 -050064
65 ## A manually managed Persistent Volume and Claim
66 ## Requires persistence.enabled: true
67 ## If defined, PVC must be created manually before volume will be bound
68 # existingClaim:
69 volumeReclaimPolicy: Retain
70
71 ## database data Persistent Volume Storage Class
72 ## If defined, storageClassName: <storageClass>
73 ## If set to "-", storageClassName: "", which disables dynamic provisioning
74 ## If undefined (the default) or set to null, no storageClassName spec is
75 ## set, choosing the default provisioner. (gp2 on AWS, standard on
76 ## GKE, AWS & OpenStack)
77 ##
78 # storageClass: "-"
pramod47b1b822018-08-28 15:41:45 +000079 accessMode: ReadWriteMany
vitalied1e5876c2018-03-29 10:24:27 -050080 size: 2Gi
pramod47b1b822018-08-28 15:41:45 +000081 mountPath: /dockerdata-nfs
82 mountSubPath: "mariadb-galera/data"
83 mysqlPath: /var/lib/mysql
vitalied1e5876c2018-03-29 10:24:27 -050084
85service:
86 internalPort: 3306
87 name: mariadb-galera
BorislavG1ffbd992018-04-24 07:56:27 +000088 portName: mariadb-galera
vitalied1e5876c2018-03-29 10:24:27 -050089 sstPort: 4444
Mike Elliott4c88b2d2018-09-13 09:32:08 -040090 sstPortName: sst
vitalied1e5876c2018-03-29 10:24:27 -050091 replicationPort: 4567
92 replicationName: replication
93 istPort: 4568
Mike Elliott4c88b2d2018-09-13 09:32:08 -040094 istPortName: ist
vitalied1e5876c2018-03-29 10:24:27 -050095
96ingress:
97 enabled: false
98
99
100## Configure MariaDB-Galera with a custom my.cnf file
101## ref: https://mariadb.com/kb/en/mariadb/configuring-mariadb-with-mycnf/#example-of-configuration-file
102##
103externalConfig: {}
104# externalConfig: |-
105 # [mysqld]
106 # innodb_buffer_pool_size=2G
107
108#resources: {}
109 # We usually recommend not to specify default resources and to leave this as a conscious
110 # choice for the user. This also increases chances charts run on environments with little
111 # resources, such as Minikube. If you do want to specify resources, uncomment the following
112 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
113 #
114 # Example:
115 # Configure resource requests and limits
116 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
117 # Minimum memory for development is 2 CPU cores and 4GB memory
118 # Minimum memory for production is 4 CPU cores and 8GB memory
119resources:
120 limits:
121 cpu: 2
122 memory: 4Gi
123 requests:
124 cpu: 2
125 memory: 4Gi
126
127# Name for mariadb-galera cluster - should be unique accross all projects or other clusters
128nameOverride: mariadb-galera
129
130# DNS name for mariadb-galera cluster - should be unique accross all projects other clusters
BorislavG1ffbd992018-04-24 07:56:27 +0000131#dnsnameOverride: mariadb-galera