| _percona_xtradb_cluster_spec: |
| secretsName: percona-xtradb |
| image: "{{ atmosphere_images['percona_xtradb_cluster'] | vexxhost.kubernetes.docker_image('ref') }}" |
| innodb_buffer_pool_size=4096M |
| # Skip reverse DNS lookup of clients |
| image: "{{ atmosphere_images['prometheus_mysqld_exporter'] | vexxhost.kubernetes.docker_image('ref') }}" |
| value: "monitor:$(MONITOR_PASSWORD)@(localhost:3306)/" |
| openstack-control-plane: enabled |
| image: "{{ atmosphere_images['percona_xtradb_cluster_haproxy'] | vexxhost.kubernetes.docker_image('ref') }}" |
| openstack-control-plane: enabled |
| stats socket /etc/haproxy/pxc/haproxy.sock mode 600 expose-fd listeners level admin |
| default-server init-addr last,libc,none |
| default_backend galera-nodes |
| default_backend galera-admin-nodes |
| frontend galera-replica-in |
| default_backend galera-replica-nodes |
| frontend galera-mysqlx-in |
| default_backend galera-mysqlx-nodes |
| http-request use-service prometheus-exporter if { path /metrics } |