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 |
Jakub Pavlik | 0647d43 | 2016-09-30 11:47:12 +0200 | [diff] [blame] | 8 | 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 Kalashnik | d4e5f47 | 2017-08-09 14:28:17 +0400 | [diff] [blame] | 33 | max_connections: ${_param:galera_max_connections} |
| 34 | innodb_buffer_pool_size: ${_param:galera_innodb_buffer_pool_size} |
Jakub Pavlik | 0647d43 | 2016-09-30 11:47:12 +0200 | [diff] [blame] | 35 | mysql: |
| 36 | server: |
| 37 | users: |
| 38 | - name: haproxy |
| 39 | host: localhost |
| 40 | - name: haproxy |
| 41 | host: '%' |