Skip to content

feat(openshift-etcd-backup): add AlertingRule for monitoring etcd backup on OpenShift#1375

Draft
hairmare wants to merge 1 commit intomainfrom
feat/openshift-etcd-backup/add-alertingrule-for-openshift
Draft

feat(openshift-etcd-backup): add AlertingRule for monitoring etcd backup on OpenShift#1375
hairmare wants to merge 1 commit intomainfrom
feat/openshift-etcd-backup/add-alertingrule-for-openshift

Conversation

@hairmare
Copy link
Copy Markdown
Contributor

@hairmare hairmare commented Mar 4, 2025

Description

Adds an AlertingRule as described on https://docs.openshift.com/container-platform/4.18///observability/monitoring/managing-alerts/managing-alerts-as-an-administrator.html#creating-new-alerting-rules_managing-alerts-as-an-administrator.

Also adds test for the openshift-etcd-backup Helm chart.

Issues

Checklist

  • This PR contains a description of the changes I'm making
  • I updated the version in Chart.yaml
  • I updated the changelog with an artifacthub.io/changes annotation in Chart.yaml, check the example in the documentation.
  • I updated applicable README.md files using pre-commit run
  • I documented any high-level concepts I'm introducing in docs/
  • CI is currently green and this is ready for review
  • I am ready to test changes after they are applied and released

@github-actions github-actions bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Mar 4, 2025
@hairmare hairmare marked this pull request as ready for review March 4, 2025 15:54
@hairmare hairmare requested a review from a team as a code owner March 4, 2025 15:54
@hairmare hairmare requested review from cfi2017 and vmaillot March 4, 2025 15:54
groups:
- name: cronjob-monitor
rules:
- alert: EtcdBackupCronJobStatusFailed
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't we already have this in place? Please see current alert.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤔 there are scenarios where the existing PrometheusRule based alert works. I'll have to revisit the reason for this change, i'm currently not sure why the PromtheusRule works.

@hairmare hairmare marked this pull request as draft March 7, 2025 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants