blob: e0da745ebe368247857613a0eb6584d7257f3237 [file] [log] [blame]
vaibhavjayas5ca54652018-07-31 09:23:16 +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
Sonsino, Ofir (os0695)2dda01d2018-05-30 18:41:14 +030015#################################################################
16# Global configuration defaults.
17#################################################################
18global:
19 nodePortPrefix: 302
20 persistence: {}
21 repository: nexus3.onap.org:10001
22
23
24#################################################################
25# Application configuration defaults.
26#################################################################
27
28#repository: mysql
29repository: nexus3.onap.org:10001
Ittay Stern8db10f42019-07-30 16:51:35 +030030image: adfinissygroup/k8s-mariadb-galera-centos:v004
Sonsino, Ofir (os0695)2dda01d2018-05-30 18:41:14 +030031imageInit: busybox
32pullPolicy: IfNotPresent
33
34# application configuration
35config:
36 mariadbRootPassword: secretpassword
37# userName: my-user
38# userPassword: my-password
39# mysqlDatabase: my-database
40 userName: vidadmin
41 userPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
42 mysqlDatabase: vid_openecomp_epsdk
43
44
Mandeep Khinda60d36d42018-09-24 15:15:48 +000045# default number of instances in the StatefulSet
Ittay Stern9b1f5442019-07-29 17:52:55 +030046replicaCount: 2
Sonsino, Ofir (os0695)2dda01d2018-05-30 18:41:14 +030047
48nodeSelector: {}
49
50affinity: {}
51
52# probe configuration parameters
53liveness:
54 initialDelaySeconds: 30
55 periodSeconds: 10
56 timeoutSeconds: 5
57 # necessary to disable liveness probe when setting breakpoints
58 # in debugger so K8s doesn't restart unresponsive container
59 enabled: false
60
61readiness:
62 initialDelaySeconds: 15
63 periodSeconds: 10
64
65## Persist data to a persitent volume
66persistence:
67 enabled: false
68
69 ## A manually managed Persistent Volume and Claim
70 ## Requires persistence.enabled: true
71 ## If defined, PVC must be created manually before volume will be bound
72 # existingClaim:
73 volumeReclaimPolicy: Retain
74
75 ## database data Persistent Volume Storage Class
76 ## If defined, storageClassName: <storageClass>
77 ## If set to "-", storageClassName: "", which disables dynamic provisioning
78 ## If undefined (the default) or set to null, no storageClassName spec is
79 ## set, choosing the default provisioner. (gp2 on AWS, standard on
80 ## GKE, AWS & OpenStack)
81 ##
82 # storageClass: "-"
83 accessMode: ReadWriteOnce
84 size: 2Gi
85
86
87service:
88 internalPort: 3306
89 name: vid-galera
90 portName: vid-galera
91 sstPort: 4444
92 sstName: sst
93 replicationPort: 4567
94 replicationName: replication
95 istPort: 4568
96 istName: ist
97
98ingress:
99 enabled: false
100
101
102## Configure MariaDB-Galera with a custom my.cnf file
103## ref: https://mariadb.com/kb/en/mariadb/configuring-mariadb-with-mycnf/#example-of-configuration-file
104##
105#externalConfig: {}
106externalConfig: |-
107 lower_case_table_names = 1
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000108# Resource Limit flavor -By Default using small
vaibhavjayasafb925d2018-09-19 09:33:41 +0000109flavor: small
110# Segregation for Different environment (Small and Large)
Sonsino, Ofir (os0695)2dda01d2018-05-30 18:41:14 +0300111resources:
vaibhavjayasafb925d2018-09-19 09:33:41 +0000112 small:
113 limits:
114 cpu: 10m
115 memory: 1Gi
116 requests:
117 cpu: 10m
Mandeep Khinda3c134252018-09-19 23:56:37 +0000118 memory: 500Mi
vaibhavjayasafb925d2018-09-19 09:33:41 +0000119 large:
120 limits:
121 cpu: 20m
122 memory: 2Gi
123 requests:
124 cpu: 20m
Mandeep Khinda3c134252018-09-19 23:56:37 +0000125 memory: 1Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000126 unlimited: {}
Sonsino, Ofir (os0695)2dda01d2018-05-30 18:41:14 +0300127# Name for mariadb-galera cluster - should be unique accross all projects or other clusters
Mandeep Khinda561a91c2018-08-23 14:08:52 +0000128nameOverride: vid-mariadb-galera
Sonsino, Ofir (os0695)2dda01d2018-05-30 18:41:14 +0300129
130# DNS name for mariadb-galera cluster - should be unique accross all projects other clusters
131#dnsnameOverride: mariadb-galera