Skip to content

How to enable HA for Alertmanager in Rancher lanched Monitoring

This document (000020009) is provided subject to the disclaimer at the end of this document.

Situation

Task

To increase the replica count of the alertmanager pod and enable HA so that if the node with the Alertmanager pod dies, alerts will still function.

Increasing the replica count in the chart is the only change required as alerts are sent to ALL the alertmanager pods. They communicate to each other which alerts have already been dispatched, so they are not duplicated.

Pre-requisites

  • Running Rancher v2.7.x/v2.8.x
  • Monitoring deployed via Rancher Apps & Marketplace

Resolution

You can enable HA alertmanager by increasing the replica count in the chart.

  1. Go to Monitoring Chart in the Apps Marketplace

Monitoring App 2. Under Chart Options, click on the Edit as YAML button

Edit as YAML 3. In the alertmanager block, modify replicas to your preference. Here it is set to 2

Replicas 4. Click on Upgrade button to apply changes

Upgrade

Further reading

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.