Automation Orchestrator install and tweaks

This commit is contained in:
2026-10-05 16:31:49 -04:00
parent c164cb2598
commit 7df35b9dd4
13 changed files with 272 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
---
# Drop platform alerts that only fire because the cluster has a single
# control-plane node. Uses the supported AlertRelabelConfig API rather than
# silences (which expire) or editing cluster-monitoring-operator rules (reverted).
- name: Drop single-control-plane false-positive alerts
kubernetes.core.k8s:
state: "{{ 'present' if sno_alert_tuning_dropped_alerts | length > 0 else 'absent' }}"
definition:
apiVersion: monitoring.openshift.io/v1
kind: AlertRelabelConfig
metadata:
name: "{{ sno_alert_tuning_config_name }}"
namespace: openshift-monitoring
spec:
configs:
- sourceLabels: [alertname]
regex: "{{ sno_alert_tuning_dropped_alerts | map('regex_escape') | join('|') }}"
action: Drop