]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph-prometheus: add alertmanager HA config
authorDimitri Savineau <dsavinea@redhat.com>
Thu, 13 Feb 2020 20:56:23 +0000 (15:56 -0500)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 17 Feb 2020 15:18:20 +0000 (16:18 +0100)
commita9a533e398b724030e23c55f951cbead0268d134
tree8595fe3d456dd4ea1683bc910bdc82e6f5aa6a31
parent9c97179fc122187200696ff3489ccf2b52d5b0a5
ceph-prometheus: add alertmanager HA config

When using multiple alertmanager nodes (via the grafana-server group)
then we need to specify the other peers in the configuration.

https://prometheus.io/docs/alerting/alertmanager/#high-availability
https://github.com/prometheus/alertmanager#high-availability

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1792225
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit b9d975385c2dceca3b06c18d4c37eadbe9f48c92)
group_vars/all.yml.sample
group_vars/rhcs.yml.sample
roles/ceph-defaults/defaults/main.yml
roles/ceph-infra/tasks/dashboard_firewall.yml
roles/ceph-prometheus/templates/alertmanager.service.j2