SUSE Support

Here When You Need Us

How to update your etcd space alerts for better etcd monitoring

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

Situation

Task

An alert you may have seen is Database usage close to the quota 500M in your Rancher 2.x cluster.

This is a default etcd alert built into Rancher, you can find more info on the default alerts here: Rancher v2.x Default Alerts

Upon further examination of the alert, you see the description of

A warning alert is triggered when the size of etcd exceeds 500M.

This alert is somewhat misleading as the default etcd size is 2GB. This alert is also at a severity level of Warning. Below, we suggest configuring your etcd alerts to better utilize the alert thresholds and to avoid the default alert constantly going off.

Pre-requisites

  • Running Rancher v2.x

Resolution

You can access the alerts by going to Tools -> Alerts at the cluster level. From here, clone the default alert three times. Once the 3 clones are created, disable the default alert so you always retain a clean reference alert.

Alert for 1GB usage - INFO

Alert for 1.5GB usage - WARNING

Alert for 1.75GB usage - CRITICAL

If you are running out of space, please reference the following two links. There will be an upcoming KB article walking through the resize process for etcd.

Rancher v2.x etcd options

etcd space quota documentation

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:000020187
  • Creation Date: 06-May-2021
  • Modified Date:14-Jul-2021
    • SUSE Rancher

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.