Upgrade APPC to use common mariadb galera charts
[oom.git] / kubernetes / common / mariadb-galera / values.yaml
1 #################################################################
2 # Global configuration defaults.
3 #################################################################
4 global:
5   nodePortPrefix: 302
6   persistence: {}
7   repository: nexus3.onap.org:10001
8
9
10 #################################################################
11 # Application configuration defaults.
12 #################################################################
13
14 #repository: mysql
15 repository: nexus3.onap.org:10001
16 image: adfinissygroup/k8s-mariadb-galera-centos:v002
17 imageInit: busybox
18 pullPolicy: IfNotPresent
19
20 # application configuration
21 config:
22   mariadbRootPassword: secretpassword
23   userName: my-user
24   userPassword: my-password
25   mysqlDatabase: my-database
26
27 # default number of instances in the StatefulSet
28 replicaCount: 3
29
30 nodeSelector: {}
31
32 affinity: {}
33
34 # probe configuration parameters
35 liveness:
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
43 readiness:
44   initialDelaySeconds: 15
45   periodSeconds: 10
46
47 ## Persist data to a persitent volume
48 persistence:
49   enabled:  true
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: ReadWriteMany
66   size: 2Gi
67   mountPath: /dockerdata-nfs
68   mountSubPath: "mariadb-galera/data"
69   mysqlPath: /var/lib/mysql
70
71 service:
72   internalPort: 3306
73   name: mariadb-galera
74   portName: mariadb-galera
75   sstPort: 4444
76   sstName: sst
77   replicationPort: 4567
78   replicationName: replication
79   istPort: 4568
80   istName: ist
81
82 ingress:
83   enabled: false
84
85
86 ## Configure MariaDB-Galera with a custom my.cnf file
87 ## ref: https://mariadb.com/kb/en/mariadb/configuring-mariadb-with-mycnf/#example-of-configuration-file
88 ##
89 externalConfig: {}
90 # externalConfig: |-
91   # [mysqld]
92   # innodb_buffer_pool_size=2G
93
94 #resources: {}
95   # We usually recommend not to specify default resources and to leave this as a conscious
96   # choice for the user. This also increases chances charts run on environments with little
97   # resources, such as Minikube. If you do want to specify resources, uncomment the following
98   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
99   #
100   # Example:
101   # Configure resource requests and limits
102   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
103   # Minimum memory for development is 2 CPU cores and 4GB memory
104   # Minimum memory for production is 4 CPU cores and 8GB memory
105 resources:
106   limits:
107     cpu: 2
108     memory: 4Gi
109   requests:
110     cpu: 2
111     memory: 4Gi
112
113 # Name for mariadb-galera cluster - should be unique accross all projects or other clusters
114 nameOverride: mariadb-galera
115
116 # DNS name for mariadb-galera cluster - should be unique accross all projects other clusters
117 #dnsnameOverride: mariadb-galera