blob: b455d7b3546d76825ab0bb7c60320cf687288675 [file] [log] [blame]
_percona_xtradb_cluster_spec:
crVersion: "1.10.0"
secretsName: percona-xtradb
pxc:
size: 3
image: "{{ atmosphere_images['percona_xtradb_cluster'] | vexxhost.atmosphere.docker_image('ref') }}"
autoRecovery: true
configuration: |
[mysqld]
max_connections=8192
sidecars:
- name: exporter
image: "{{ atmosphere_images['prometheus_mysqld_exporter'] | vexxhost.atmosphere.docker_image('ref') }}"
env:
- name: MONITOR_PASSWORD
valueFrom:
secretKeyRef:
name: percona-xtradb
key: monitor
- name: DATA_SOURCE_NAME
value: "monitor:$(MONITOR_PASSWORD)@(localhost:3306)/"
ports:
- name: metrics
containerPort: 9104
livenessProbe:
httpGet:
port: metrics
path: /
nodeSelector:
openstack-control-plane: enabled
volumeSpec:
persistentVolumeClaim:
resources:
requests:
storage: 160Gi
haproxy:
enabled: true
size: 3
image: "{{ atmosphere_images['percona_xtradb_cluster_haproxy'] | vexxhost.atmosphere.docker_image('ref') }}"
nodeSelector:
openstack-control-plane: enabled