blob: f4957a67b8a9616b4be3438a6c29baa451d21285 [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
Dennis Dmitriev2c572892018-03-05 23:32:34 +02008 galera_innodb_read_io_threads: 8
9 galera_innodb_write_io_threads: 8
10 galera_wsrep_slave_threads: 8
11 galera_xtrabackup_parallel: 4
Michal Kobus6a33c422018-09-28 14:32:57 +020012 galera_error_log_enabled: true
13 galera_error_log_path: /var/log/mysql/error.log
Jakub Pavlik0647d432016-09-30 11:47:12 +020014 kubernetes:
15 control:
16 configmap:
17 galera-master:
18 grains:
19 os_family: Debian
20 pillar:
21 galera:
22 master:
23 enabled: true
24 name: ${_param:galera_server_cluster_name}
25 bind:
26 address: 0.0.0.0
27 port: ${_param:galera_server_bind_port}
28 maintenance_password: ${_param:galera_server_maintenance_password}
29 admin:
30 user: ${_param:galera_server_admin_user}
31 password: ${_param:galera_server_admin_password}
32 members:
33 - host: ${_param:mysql_service_host01}
34 port: 4567
35 - host: ${_param:mysql_service_host02}
36 port: 4567
37 - host: ${_param:mysql_service_host03}
38 port: 4567
Dmitry Kalashnikd4e5f472017-08-09 14:28:17 +040039 max_connections: ${_param:galera_max_connections}
40 innodb_buffer_pool_size: ${_param:galera_innodb_buffer_pool_size}
Dennis Dmitriev2c572892018-03-05 23:32:34 +020041 innodb_read_io_threads: ${_param:galera_innodb_read_io_threads}
42 innodb_write_io_threads: ${_param:galera_innodb_write_io_threads}
43 wsrep_slave_threads: ${_param:galera_wsrep_slave_threads}
44 xtrabackup_parallel: ${_param:galera_xtrabackup_parallel}
45 error_log_enabled: ${_param:galera_error_log_enabled}
Michal Kobus6a33c422018-09-28 14:32:57 +020046 error_log_path: ${_param:galera_error_log_path}
Jakub Pavlik0647d432016-09-30 11:47:12 +020047 mysql:
48 server:
49 users:
50 - name: haproxy
51 host: localhost
52 - name: haproxy
Michal Kobus6a33c422018-09-28 14:32:57 +020053 host: '%'