| _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') }}" |
| - --mysqld.username=monitor |
| - --collect.info_schema.processlist |
| - name: MYSQLD_EXPORTER_PASSWORD |
| openstack-control-plane: enabled |
| image: "{{ atmosphere_images['percona_xtradb_cluster_haproxy'] | vexxhost.kubernetes.docker_image('ref') }}" |
| openstack-control-plane: enabled |
| # NOTE(fitbeard): The actual default configuration file can be found here: |
| # https://github.com/percona/percona-docker/blob/pxc-operator-1.14.0/haproxy/dockerdir/etc/haproxy/haproxy-global.cfg |
| # Should be aligned with upstream example when bumping chart version |
| log stdout format raw local0 |
| stats socket /etc/haproxy/pxc/haproxy.sock mode 600 expose-fd listeners level admin |
| log-format '{"time":"%t", "client_ip": "%ci", "client_port":"%cp", "backend_source_ip": "%bi", "backend_source_port": "%bp", "frontend_name": "%ft", "backend_name": "%b", "server_name":"%s", "tw": "%Tw", "tc": "%Tc", "Tt": "%Tt", "bytes_read": "%B", "termination_state": "%ts", "actconn": "%ac", "feconn" :"%fc", "beconn": "%bc", "srv_conn": "%sc", "retries": "%rc", "srv_queue": "%sq", "backend_queue": "%bq" }' |
| 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 } |