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.
- Go to Monitoring Chart in the Apps Marketplace
- Under Chart Options, click on the Edit as YAML button
- In the alertmanager block, modify replicas to your preference. Here it is set to 2
- Click on Upgrade button to apply changes
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.
- Document ID:000020009
- Creation Date: 06-May-2021
- Modified Date:25-Jun-2024
-
- SUSE Rancher
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com