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