Jakub Pavlik | 0647d43 | 2016-09-30 11:47:12 +0200 | [diff] [blame] | 1 | parameters: |
| 2 | _param: |
| 3 | galera_server_cluster_name: galeracluster |
| 4 | galera_server_bind_port: 3306 |
| 5 | galera_server_admin_user: root |
Dmitry Kalashnik | d4e5f47 | 2017-08-09 14:28:17 +0400 | [diff] [blame] | 6 | galera_max_connections: 20000 |
| 7 | galera_innodb_buffer_pool_size: 3138M |
Dennis Dmitriev | 2c57289 | 2018-03-05 23:32:34 +0200 | [diff] [blame] | 8 | 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 Kobus | 6a33c42 | 2018-09-28 14:32:57 +0200 | [diff] [blame] | 12 | galera_error_log_enabled: true |
| 13 | galera_error_log_path: /var/log/mysql/error.log |
Jakub Pavlik | 0647d43 | 2016-09-30 11:47:12 +0200 | [diff] [blame] | 14 | 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 Kalashnik | d4e5f47 | 2017-08-09 14:28:17 +0400 | [diff] [blame] | 39 | max_connections: ${_param:galera_max_connections} |
| 40 | innodb_buffer_pool_size: ${_param:galera_innodb_buffer_pool_size} |
Dennis Dmitriev | 2c57289 | 2018-03-05 23:32:34 +0200 | [diff] [blame] | 41 | 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 Kobus | 6a33c42 | 2018-09-28 14:32:57 +0200 | [diff] [blame] | 46 | error_log_path: ${_param:galera_error_log_path} |
Jakub Pavlik | 0647d43 | 2016-09-30 11:47:12 +0200 | [diff] [blame] | 47 | mysql: |
| 48 | server: |
| 49 | users: |
| 50 | - name: haproxy |
| 51 | host: localhost |
| 52 | - name: haproxy |
Michal Kobus | 6a33c42 | 2018-09-28 14:32:57 +0200 | [diff] [blame] | 53 | host: '%' |