blob: c80beeffa7dd121d84eb33e9e76dffddcf78d23f [file] [log] [blame]
Jakub Pavlik0647d432016-09-30 11:47:12 +02001parameters:
2 _param:
3 galera_server_cluster_name: galeracluster
4 galera_server_bind_port: 3306
5 galera_server_admin_user: root
Dmitry Kalashnikd4e5f472017-08-09 14:28:17 +04006 galera_max_connections: 20000
7 galera_innodb_buffer_pool_size: 3138M
Jakub Pavlik0647d432016-09-30 11:47:12 +02008 kubernetes:
9 control:
10 configmap:
11 galera-master:
12 grains:
13 os_family: Debian
14 pillar:
15 galera:
16 master:
17 enabled: true
18 name: ${_param:galera_server_cluster_name}
19 bind:
20 address: 0.0.0.0
21 port: ${_param:galera_server_bind_port}
22 maintenance_password: ${_param:galera_server_maintenance_password}
23 admin:
24 user: ${_param:galera_server_admin_user}
25 password: ${_param:galera_server_admin_password}
26 members:
27 - host: ${_param:mysql_service_host01}
28 port: 4567
29 - host: ${_param:mysql_service_host02}
30 port: 4567
31 - host: ${_param:mysql_service_host03}
32 port: 4567
Dmitry Kalashnikd4e5f472017-08-09 14:28:17 +040033 max_connections: ${_param:galera_max_connections}
34 innodb_buffer_pool_size: ${_param:galera_innodb_buffer_pool_size}
Jakub Pavlik0647d432016-09-30 11:47:12 +020035 mysql:
36 server:
37 users:
38 - name: haproxy
39 host: localhost
40 - name: haproxy
41 host: '%'