blob: 10509d987a5108d0d6141559165a1e774c90aa9e [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
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 userName: vidadmin
41 userPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
42 mysqlDatabase: vid_openecomp_epsdk
43
44
45# default number of instances in the StatefulSet
46# keep in mind that if the number is increased you need to update vid-galera-config-job.yaml so that the job will know to wait for all pods.
47replicaCount: 1
48
49nodeSelector: {}
50
51affinity: {}
52
53# probe configuration parameters
54liveness:
55 initialDelaySeconds: 30
56 periodSeconds: 10
57 timeoutSeconds: 5
58 # necessary to disable liveness probe when setting breakpoints
59 # in debugger so K8s doesn't restart unresponsive container
60 enabled: false
61
62readiness:
63 initialDelaySeconds: 15
64 periodSeconds: 10
65
66## Persist data to a persitent volume
67persistence:
68 enabled: false
69
70 ## A manually managed Persistent Volume and Claim
71 ## Requires persistence.enabled: true
72 ## If defined, PVC must be created manually before volume will be bound
73 # existingClaim:
74 volumeReclaimPolicy: Retain
75
76 ## database data Persistent Volume Storage Class
77 ## If defined, storageClassName: <storageClass>
78 ## If set to "-", storageClassName: "", which disables dynamic provisioning
79 ## If undefined (the default) or set to null, no storageClassName spec is
80 ## set, choosing the default provisioner. (gp2 on AWS, standard on
81 ## GKE, AWS & OpenStack)
82 ##
83 # storageClass: "-"
84 accessMode: ReadWriteOnce
85 size: 2Gi
86
87
88service:
89 internalPort: 3306
90 name: vid-galera
91 portName: vid-galera
92 sstPort: 4444
93 sstName: sst
94 replicationPort: 4567
95 replicationName: replication
96 istPort: 4568
97 istName: ist
98
99ingress:
100 enabled: false
101
102
103## Configure MariaDB-Galera with a custom my.cnf file
104## ref: https://mariadb.com/kb/en/mariadb/configuring-mariadb-with-mycnf/#example-of-configuration-file
105##
106#externalConfig: {}
107externalConfig: |-
108 lower_case_table_names = 1
vaibhavjayasafb925d2018-09-19 09:33:41 +0000109# Resource Limit flavor -By Default using small
110flavor: small
111# Segregation for Different environment (Small and Large)
Sonsino, Ofir (os0695)2dda01d2018-05-30 18:41:14 +0300112resources:
vaibhavjayasafb925d2018-09-19 09:33:41 +0000113 small:
114 limits:
115 cpu: 10m
116 memory: 1Gi
117 requests:
118 cpu: 10m
Mandeep Khinda3c134252018-09-19 23:56:37 +0000119 memory: 500Mi
vaibhavjayasafb925d2018-09-19 09:33:41 +0000120 large:
121 limits:
122 cpu: 20m
123 memory: 2Gi
124 requests:
125 cpu: 20m
Mandeep Khinda3c134252018-09-19 23:56:37 +0000126 memory: 1Gi
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