blob: e9464b69eeafab93814100d7532726e7e2894d72 [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
109#resources: {}
110 # We usually recommend not to specify default resources and to leave this as a conscious
111 # choice for the user. This also increases chances charts run on environments with little
112 # resources, such as Minikube. If you do want to specify resources, uncomment the following
113 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
114 #
115 # Example:
116 # Configure resource requests and limits
117 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
118 # Minimum memory for development is 2 CPU cores and 4GB memory
119 # Minimum memory for production is 4 CPU cores and 8GB memory
120resources:
121 limits:
122 cpu: 2
123 memory: 4Gi
124 requests:
125 cpu: 2
126 memory: 4Gi
127
128# Name for mariadb-galera cluster - should be unique accross all projects or other clusters
Mandeep Khinda561a91c2018-08-23 14:08:52 +0000129nameOverride: vid-mariadb-galera
Sonsino, Ofir (os0695)2dda01d2018-05-30 18:41:14 +0300130
131# DNS name for mariadb-galera cluster - should be unique accross all projects other clusters
132#dnsnameOverride: mariadb-galera